Update the pre-commit git hook (#667)
It now supports both Linux and Windows and checks both coding style (astyle) and does static code analysis (cppcheck). Tested using "Bash on Ubuntu on Windows" and the git shell (via GitHub for Windows). Installation is done by executing hooks/install-hooks.sh Windows users has to execute it in a cygwin based git shell. Tools: astyle (2.05.1 or newer) cppcheck (1.76.1 or newer)
This commit is contained in:
committed by
Bruce Lacey
parent
2f587b9647
commit
6564daec3e
@@ -1,3 +1,5 @@
|
||||
toomanyconfigs
|
||||
missingInclude
|
||||
missingIncludeSystem
|
||||
ConfigurationNotChecked
|
||||
unmatchedSuppression
|
||||
|
||||
Reference in New Issue
Block a user