mirror of
https://github.com/amadvance/snapraid.git
synced 2026-10-26 19:01:57 -04:00
Adds coverity scan script.
This commit is contained in:
parent
0c539a0b35
commit
d491fd73e0
1 changed files with 26 additions and 0 deletions
26
makescan.sh
Executable file
26
makescan.sh
Executable file
|
|
@ -0,0 +1,26 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
|
||||
rm -r cov-int
|
||||
rm snapraid.tgz
|
||||
|
||||
make distclean
|
||||
|
||||
if ! ./configure ; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
export PATH=$PATH:contrib/cov-analysis-linux-7.0.2/bin
|
||||
|
||||
if ! cov-build --dir cov-int make; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
tar czf snapraid.tgz cov-int
|
||||
|
||||
rm -r cov-int
|
||||
|
||||
echo snapraid.tgz ready to upload to https://scan.coverity.com/projects/1986/builds/new
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue