We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ebac1d commit f423c9cCopy full SHA for f423c9c
taskfiles/lint-cmake.yaml
@@ -9,6 +9,8 @@ tasks:
9
- "{{.ROOT_DIR}}/**/CMakeLists.txt"
10
- "{{.TASKFILE}}"
11
- exclude: "{{.ROOT_DIR}}/**/build/*"
12
+ - exclude: "{{.ROOT_DIR}}/**/submodules/*"
13
+ - exclude: "{{.ROOT_DIR}}/**/tools/*"
14
deps:
15
- "venv"
16
cmds:
@@ -40,7 +42,7 @@ tasks:
40
42
- |-
41
43
. "{{.G_LINT_VENV_DIR}}/bin/activate"
44
find . \
- -path ./build -prune -o \
45
+ \( -path '**/build' -o -path '**/submodules' -o -path '**/tools' \) -prune -o \
46
\( -iname "CMakeLists.txt" -o -iname "*.cmake" -o -iname "*.cmake.in" \) \
47
-print0 | \
48
xargs -0 --no-run-if-empty gersemi {{.FLAGS}}
0 commit comments