makefile: cppcheck target
This commit is contained in:
parent
83922c343f
commit
57c7f6021b
6
makefile
6
makefile
@ -53,6 +53,12 @@ cpp-clean :
|
|||||||
rm -vf $(EXE)
|
rm -vf $(EXE)
|
||||||
rm -vf *.o
|
rm -vf *.o
|
||||||
|
|
||||||
|
#-----------------------------------------------------------------------------#
|
||||||
|
# linter and code check
|
||||||
|
|
||||||
|
check-code:
|
||||||
|
cppcheck --enable=all -I lib/ src/main.cpp
|
||||||
|
|
||||||
#-----------------------------------------------------------------------------#
|
#-----------------------------------------------------------------------------#
|
||||||
# check version consistency of git tags and version string in package.json
|
# check version consistency of git tags and version string in package.json
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user