]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - covbuild.sh
FIX: T5555/Q5 datarate when used in "Q" parameter, consequential fix in lf commands...
[proxmark3-svn] / covbuild.sh
... / ...
CommitLineData
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.
7make clean
8
9## coverity build
10cov-build --dir cov-int make all
11
12## delete all previous tarballs
13rm proxmark3.all.*.tgz
14
15##
16VERSION="0.1.`date --date now +%H%M`"
17TODAY="`date --date now +%Y%m%d.%H%M`"
18DESCNAME="autoMango.$TODAY"
19FILENAME=proxmark3.all.$TODAY.tgz
20
21## create tarball
22tar cfz $FILENAME cov-int
23echo "Coverity build file is ready"
24
25## clean up build folders
26rm -rf cov-int
27echo "Coverity build cleaned"
28
29## upload tarball to Coverity.com
30curl --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
36echo "tarball uploaded to Coverity for analyse"
Impressum, Datenschutz