]> git.zerfleddert.de Git - proxmark3-svn/blame - covbuild.sh
ADD: `data detectclock` - added clock blocks in plot window. Its a draft. Not working...
[proxmark3-svn] / covbuild.sh
CommitLineData
edff4a41 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
f1f7430a 10cov-build --dir cov-int make all
edff4a41 11
b9e8854a 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
edff4a41 21## create tarball
b9e8854a 22tar cfz $FILENAME cov-int
edff4a41 23echo "Coverity build file is ready"
24
edff4a41 25## clean up build folders
26rm -rf cov-int
27echo "Coverity build cleaned"
28
29## upload tarball to Coverity.com
b9e8854a 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