diff options
author | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-02-24 03:49:54 -0300 |
---|---|---|
committer | Kelvin M. Klann <kmk3.code@protonmail.com> | 2024-02-24 18:53:07 -0300 |
commit | 1f6400bd89913d804b9803394c9c1bb629a7e97f (patch) | |
tree | 88ecbb7d94ca2a2a430048afd8e4c0b071d2176d /Makefile | |
parent | build: sync cppcheck targets with CI (diff) | |
download | firejail-1f6400bd89913d804b9803394c9c1bb629a7e97f.tar.gz firejail-1f6400bd89913d804b9803394c9c1bb629a7e97f.tar.zst firejail-1f6400bd89913d804b9803394c9c1bb629a7e97f.zip |
build: sync scan-build target with CI
Changes:
* Use --status-bugs in the scan-build target to exit with an error if
bugs are found
* Call the make target in the CI job
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -374,7 +374,7 @@ cppcheck-old: clean | |||
374 | 374 | ||
375 | .PHONY: scan-build | 375 | .PHONY: scan-build |
376 | scan-build: clean | 376 | scan-build: clean |
377 | $(SCAN_BUILD) $(MAKE) | 377 | $(SCAN_BUILD) --status-bugs $(MAKE) |
378 | 378 | ||
379 | # TODO: Old codespell versions (such as v2.1.0 in CI) have issues with | 379 | # TODO: Old codespell versions (such as v2.1.0 in CI) have issues with |
380 | # contrib/syscalls.sh | 380 | # contrib/syscalls.sh |