mirror of
https://github.com/infiniteCable2/panda.git
synced 2026-02-18 09:13:52 +08:00
ensure cppcheck is always the right version (#1843)
This commit is contained in:
@@ -10,7 +10,7 @@ fi
|
||||
|
||||
cd $CPPCHECK_DIR
|
||||
VERS="2.13.0"
|
||||
git fetch origin $VERS
|
||||
git fetch --tags origin $VERS
|
||||
git checkout $VERS
|
||||
make clean
|
||||
#make clean
|
||||
make MATCHCOMPILTER=yes CXXFLAGS="-O2" -j8
|
||||
|
||||
@@ -10,7 +10,7 @@ NC='\033[0m'
|
||||
: "${CPPCHECK_DIR:=$DIR/cppcheck/}"
|
||||
|
||||
# install cppcheck if missing
|
||||
if [ ! -d $CPPCHECK_DIR ]; then
|
||||
if [ -z "${SKIP_BUILD}" ]; then
|
||||
$DIR/install.sh
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user