mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
CHG: fixed the coverity build script
This commit is contained in:
parent
fb6e631fbb
commit
b9e8854a8b
1 changed files with 18 additions and 7 deletions
25
covbuild.sh
25
covbuild.sh
|
@ -9,17 +9,28 @@ make clean
|
||||||
## coverity build
|
## coverity build
|
||||||
cov-build --dir cov-int make all
|
cov-build --dir cov-int make all
|
||||||
|
|
||||||
## create tarball
|
## delete all previous tarballs
|
||||||
tar cfz proxmark3.all.`date --date now +%Y%m%d%H%M%S`.tgz cov-int
|
rm proxmark3.all.*.tgz
|
||||||
echo "Coverity build file is ready"
|
|
||||||
|
|
||||||
|
##
|
||||||
|
VERSION="0.1.`date --date now +%H%M`"
|
||||||
|
TODAY="`date --date now +%Y%m%d.%H%M`"
|
||||||
|
DESCNAME="autoMango.$TODAY"
|
||||||
|
FILENAME=proxmark3.all.$TODAY.tgz
|
||||||
|
|
||||||
|
## create tarball
|
||||||
|
tar cfz $FILENAME cov-int
|
||||||
|
echo "Coverity build file is ready"
|
||||||
|
|
||||||
## clean up build folders
|
## clean up build folders
|
||||||
rm -rf cov-int
|
rm -rf cov-int
|
||||||
echo "Coverity build cleaned"
|
echo "Coverity build cleaned"
|
||||||
|
|
||||||
## upload tarball to Coverity.com
|
## upload tarball to Coverity.com
|
||||||
## not using it.
|
curl --form token=dY262wIFmfkcRkA5Pyw0eA \
|
||||||
# curl --form project=proxmark-iceman-fork --form token=PUT_YOUR_API_TOKEN_HERE --form email=PUT_YOU_EMAIL@HERE --form file=@proxmark3.tgz --form version=0.4.0 --form description=Description http://scan5.coverity.com/cgi-bin/upload.py
|
--form email=herrmann1001@gmail.com \
|
||||||
|
--form file=@$FILENAME \
|
||||||
|
--form version="$VERSION" \
|
||||||
|
--form description="$DESCNAME" \
|
||||||
|
https://scan.coverity.com/builds?project=proxmark3_iceman_fork
|
||||||
|
echo "tarball uploaded to Coverity for analyse"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue