Makefile: fail on scan-build failure
This commit is contained in:
parent
6b1a15aa29
commit
43ac660db6
2
Makefile
2
Makefile
@ -18,7 +18,7 @@ test: tests
|
|||||||
|
|
||||||
scan-build: clean
|
scan-build: clean
|
||||||
@echo "+++ Running Clang Static Analyzer..."
|
@echo "+++ Running Clang Static Analyzer..."
|
||||||
scan-build $(MAKE) tests
|
scan-build --status-bugs --keep-going $(MAKE) tests
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
$(RM) tests example *.o
|
$(RM) tests example *.o
|
||||||
|
Loading…
Reference in New Issue
Block a user