]>
git.zerfleddert.de Git - proxmark3-svn/blob - covbuild.sh
4 ## build script for Coverity Scan of the proxmark3 source code
6 ## clean up pre-compiled objects.
10 cov-build
--dir cov-int
make all
12 ## delete all previous tarballs
13 rm proxmark3.all.
*.tgz
16 VERSION
="0.1.`date --date now +%H%M`"
17 TODAY
="`date --date now +%Y%m%d.%H%M`"
18 DESCNAME
="autoMango.$TODAY"
19 FILENAME
=proxmark3.all.
$TODAY.tgz
22 tar cfz
$FILENAME cov-int
23 echo "Coverity build file is ready"
25 ## clean up build folders
27 echo "Coverity build cleaned"
29 ## upload tarball to Coverity.com
30 curl
--form token
=dY262wIFmfkcRkA5Pyw0eA \
31 --form email
=herrmann1001@gmail.com \
32 --form file=@
$FILENAME \
33 --form version
="$VERSION" \
34 --form description
="$DESCNAME" \
35 https
://scan.coverity.com
/builds?project
=proxmark3_iceman_fork
36 echo "tarball uploaded to Coverity for analyse"