File tree Expand file tree Collapse file tree 2 files changed +15
-8
lines changed
Expand file tree Collapse file tree 2 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1616 vars :
1717 FLAGS : " --diff --color"
1818 - task : " gersemi"
19- silent : true
2019 vars :
2120 FLAGS : " --check"
2221
4342 \( -path '**/build' -o -path '**/submodules' -o -path '**/tools' \) -prune -o \
4443 \( -iname "CMakeLists.txt" -o -iname "*.cmake" -o -iname "*.cmake.in" \) \
4544 -print0 | \
46- xargs -0 --no-run-if-empty gersemi {{.FLAGS}}
45+ xargs -0 gersemi {{.FLAGS}}
Original file line number Diff line number Diff line change 66 - " yaml-check"
77 - " yaml-fix"
88 desc : " Runs the YAML linters. Only checks for warnings and violations."
9+ sources :
10+ - " {{.ROOT_DIR}}/**/*.yaml"
11+ - " {{.ROOT_DIR}}/**/*.yml"
12+ - " {{.TASKFILE}}"
13+ - exclude : " {{.ROOT_DIR}}/**/build/*"
14+ - exclude : " {{.ROOT_DIR}}/**/submodules/*"
15+ - exclude : " {{.ROOT_DIR}}/**/tools/*"
916 deps :
1017 - " venv"
1118 dir : " {{.ROOT_DIR}}"
1219 cmds :
1320 - |-
1421 . "{{.G_LINT_VENV_DIR}}/bin/activate"
15- yamllint \
16- --config-file "tools/yscope-dev-utils/lint-configs/.yamllint.yml" \
17- --strict \
18- .github \
19- taskfile.yaml \
20- taskfiles/
22+ find . \
23+ \( -path '**/build' -o -path '**/submodules' -o -path '**/tools' \) -prune -o \
24+ \( -iname "*.yaml" -o -iname "*.yml" \) \
25+ -print0 | \
26+ xargs -0 yamllint \
27+ --config-file "tools/yscope-dev-utils/lint-configs/.yamllint.yml" \
28+ --strict
You can’t perform that action at this time.
0 commit comments