We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 00cff15 commit ff95e93Copy full SHA for ff95e93
2 files changed
Makefile
Taskfile.yml
@@ -0,0 +1,16 @@
1
+# https://taskfile.dev/#/installation
2
+version: 3
3
+
4
+tasks:
5
+ test:
6
+ - cmake ./test -B ./test/build -DCMAKE_BUILD_TYPE:STRING=Debug -G "Ninja Multi-Config"
7
+ - cmake --build ./test/build --config Debug
8
+ - cd ./test/build && ctest -C Debug --verbose
9
10
+ format:
11
+ - clang-format -i ./test/*.cpp
12
+ - cmake-format --in-place ./Index.cmake ./src/*.cmake
13
14
+ lint: cmake-lint ./Index.cmake ./src/*.cmake
15
16
+ clean: 'cd test && {{if eq OS "windows"}} cmd /c "if exist build ( rmdir /s/q build )" {{else}} rm -rf build {{end}}'
0 commit comments