diff options
author | 2023-08-14 21:37:17 +0000 | |
---|---|---|
committer | 2023-08-14 21:37:17 +0000 | |
commit | fd05c9a37a6cd214f412ce25a613f5646a8a841c (patch) | |
tree | 0eeb722834dd78ff95ebf3bb19b95af5f739fd06 /Makefile | |
parent | build(deps): bump github/codeql-action from 2.21.2 to 2.21.3 (diff) | |
parent | build: run codespell on almost all files (diff) | |
download | firejail-fd05c9a37a6cd214f412ce25a613f5646a8a841c.tar.gz firejail-fd05c9a37a6cd214f412ce25a613f5646a8a841c.tar.zst firejail-fd05c9a37a6cd214f412ce25a613f5646a8a841c.zip |
Merge pull request #5955 from kmk3/build-codespell-improvements
build: codespell improvements
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -366,9 +366,16 @@ cppcheck: clean | |||
366 | scan-build: clean | 366 | scan-build: clean |
367 | scan-build $(MAKE) | 367 | scan-build $(MAKE) |
368 | 368 | ||
369 | # TODO: Old codespell versions (such as v2.1.0 in CI) have issues with | ||
370 | # contrib/syscalls.sh | ||
369 | .PHONY: codespell | 371 | .PHONY: codespell |
370 | codespell: clean | 372 | codespell: |
371 | codespell --ignore-regex "UE|creat|doas|ether|isplay|shotcut" src test | 373 | @printf 'Running %s...\n' $@ |
374 | @codespell --ignore-regex 'UE|als|chage|creat|doas|ether|isplay|readby|[Ss]hotcut' \ | ||
375 | -S *.gz,*.o,*.so \ | ||
376 | -S COPYING,m4 \ | ||
377 | -S ./contrib/syscalls.sh \ | ||
378 | . | ||
372 | 379 | ||
373 | .PHONY: print-env | 380 | .PHONY: print-env |
374 | print-env: | 381 | print-env: |