[extras] add scan-build wrapper for the CLANG static analyzer
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
if [ -x ./configure ]; then
|
||||
make clean
|
||||
scan-build ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/run $@
|
||||
script -c 'scan-build make'
|
||||
else
|
||||
echo "[*] Execute from the fwknop top level sources directory"
|
||||
fi
|
||||
|
||||
exit 0
|
||||
Reference in New Issue
Block a user