mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 09:35:46 +01:00
write todo comments
This commit is contained in:
2
.github/workflows/validate.yaml
vendored
2
.github/workflows/validate.yaml
vendored
@@ -9,6 +9,7 @@ on:
|
|||||||
- dev
|
- dev
|
||||||
- $default-branch
|
- $default-branch
|
||||||
jobs:
|
jobs:
|
||||||
|
# TODO: add unit test job here
|
||||||
compile-and-lint:
|
compile-and-lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
@@ -21,3 +22,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@latest
|
- uses: actions/checkout@latest
|
||||||
- run: make compile ARCH=${{matrix.arch}}
|
- run: make compile ARCH=${{matrix.arch}}
|
||||||
|
# TODO: add linting checking here
|
||||||
|
|||||||
2
makefile
2
makefile
@@ -6,6 +6,7 @@
|
|||||||
# - git bash (windows)
|
# - git bash (windows)
|
||||||
NAME := mcaselector-lite
|
NAME := mcaselector-lite
|
||||||
|
|
||||||
|
# TODO: use cargo instead of rustc, as then the Cargo.toml file is actually useful (and will help with linting)
|
||||||
RUSTC := rustc
|
RUSTC := rustc
|
||||||
|
|
||||||
# C compiler options
|
# C compiler options
|
||||||
@@ -65,6 +66,7 @@ run: compile
|
|||||||
compile: compile_commands.json $(DIR) $(TARGET)
|
compile: compile_commands.json $(DIR) $(TARGET)
|
||||||
clean:
|
clean:
|
||||||
rm -rf bin/ obj/ compile_commands.json
|
rm -rf bin/ obj/ compile_commands.json
|
||||||
|
# TODO: write a structure for the unit tests in this
|
||||||
|
|
||||||
# create the binary (linking step)
|
# create the binary (linking step)
|
||||||
$(TARGET): $(C_OBJ) $(RS_OBJ)
|
$(TARGET): $(C_OBJ) $(RS_OBJ)
|
||||||
|
|||||||
Reference in New Issue
Block a user