From ec06481a36cd6d28d323ae431ccafb3d48fce203 Mon Sep 17 00:00:00 2001 From: Quinn Date: Mon, 7 Apr 2025 23:42:50 +0200 Subject: [PATCH] write todo comments --- .github/workflows/validate.yaml | 2 ++ makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml index 772ff98..3137e9a 100644 --- a/.github/workflows/validate.yaml +++ b/.github/workflows/validate.yaml @@ -9,6 +9,7 @@ on: - dev - $default-branch jobs: + # TODO: add unit test job here compile-and-lint: runs-on: ubuntu-latest container: @@ -21,3 +22,4 @@ jobs: steps: - uses: actions/checkout@latest - run: make compile ARCH=${{matrix.arch}} + # TODO: add linting checking here diff --git a/makefile b/makefile index 71d8f78..180ab76 100644 --- a/makefile +++ b/makefile @@ -6,6 +6,7 @@ # - git bash (windows) 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 # C compiler options @@ -65,6 +66,7 @@ run: compile compile: compile_commands.json $(DIR) $(TARGET) clean: rm -rf bin/ obj/ compile_commands.json +# TODO: write a structure for the unit tests in this # create the binary (linking step) $(TARGET): $(C_OBJ) $(RS_OBJ)