]>
Commit | Line | Data |
---|---|---|
1 | #!/bin/bash | |
2 | ||
3 | ## 2016-01-16, Iceman | |
4 | ## build script for Coverity Scan of the proxmark3 source code | |
5 | ||
6 | ## clean up pre-compiled objects. | |
7 | make clean | |
8 | ||
9 | ## coverity build | |
10 | cov-build --dir cov-int make all UBUNTU_1404_QT4=1 | |
11 | ||
12 | ## create tarball | |
13 | tar cfz proxmark3.all.`date --date now +%Y%m%d%H%M%S`.tgz cov-int | |
14 | echo "Coverity build file is ready" | |
15 | ||
16 | ||
17 | ## clean up build folders | |
18 | rm -rf cov-int | |
19 | echo "Coverity build cleaned" | |
20 | ||
21 | ## upload tarball to Coverity.com | |
22 | ## not using it. | |
23 | # 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 | |
24 | ||
25 |