Skip to content
Snippets Groups Projects
Commit 4a8cc45f authored by Grigoris Pavlakis's avatar Grigoris Pavlakis Committed by kongr45gpen
Browse files

Lock the addon files to this specific commit in order to avoid breaking stuff...

Lock the addon files to this specific commit in order to avoid breaking stuff if cppcheck updates without prior creation of a package by Debian
parent dd6bdeae
No related branches found
No related tags found
No related merge requests found
...@@ -18,8 +18,8 @@ cppcheck --enable=all --inline-suppr --suppress=unusedFunction --suppress=missin ...@@ -18,8 +18,8 @@ cppcheck --enable=all --inline-suppr --suppress=unusedFunction --suppress=missin
echo -e "\033[33mRunning cppcheck with MISRA rule compliance tests...\033[0m" echo -e "\033[33mRunning cppcheck with MISRA rule compliance tests...\033[0m"
# grab the MISRA addon and the cppcheck addon interface from github # grab the MISRA addon and the cppcheck addon interface from github
curl https://raw.githubusercontent.com/danmar/cppcheck/master/addons/misra.py > misra.py curl https://raw.githubusercontent.com/danmar/cppcheck/f4b5b156d720c712f6ce99f6e01d8c1b3f800d52/addons/misra.py > misra.py
curl https://raw.githubusercontent.com/danmar/cppcheck/master/addons/cppcheckdata.py > cppcheckdata.py curl https://raw.githubusercontent.com/danmar/cppcheck/f4b5b156d720c712f6ce99f6e01d8c1b3f800d52/addons/cppcheckdata.py > cppcheckdata.py
# generate dump files (XML representations of AST etc.) for all headers, source files etc. # generate dump files (XML representations of AST etc.) for all headers, source files etc.
for file in $(find inc/ src/ -type f) for file in $(find inc/ src/ -type f)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment