Added cppcheck of BACnet source into pipeline (#171)
Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
@@ -181,6 +181,14 @@ tidy:
|
||||
lint:
|
||||
scan-build --status-bugs -analyze-headers make -j2 clean server
|
||||
|
||||
CPPCHECK_OPTIONS = --enable=warning,portability
|
||||
CPPCHECK_OPTIONS += --template=gcc
|
||||
CPPCHECK_OPTIONS += --suppress=selfAssignment
|
||||
|
||||
.PHONY: cppcheck
|
||||
cppcheck:
|
||||
cppcheck $(CPPCHECK_OPTIONS) --quiet --force ./src/
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
$(MAKE) -s -C src clean
|
||||
|
||||
Reference in New Issue
Block a user