134.1.1
by Sergio Schvezov
Adding .tarmac.sh |
1 |
#!/bin/sh
|
2 |
||
3 |
set -ev
|
|
4 |
||
169.2.3
by Michael Vogt
split run-checks.sh from .tarmac.sh to make it easy for developers to run before sending to tarmac |
5 |
# we always run in a fresh dir in tarmac
|
134.1.1
by Sergio Schvezov
Adding .tarmac.sh |
6 |
export GOPATH=$(mktemp -d) |
144.1.2
by Sergio Schvezov
making sure tarmac.sh gets the dependencies for the proposed merged branch and not the existing trunk with the addition of using godeps |
7 |
trap 'rm -rf "$GOPATH"' EXIT |
134.1.1
by Sergio Schvezov
Adding .tarmac.sh |
8 |
|
9 |
# this is a hack, but not sure tarmac is golang friendly
|
|
169.2.3
by Michael Vogt
split run-checks.sh from .tarmac.sh to make it easy for developers to run before sending to tarmac |
10 |
mkdir -p $GOPATH/src/launchpad.net/snappy
|
11 |
cp -a . $GOPATH/src/launchpad.net/snappy/
|
|
134.1.1
by Sergio Schvezov
Adding .tarmac.sh |
12 |
cd $GOPATH/src/launchpad.net/snappy |
13 |
||
169.2.3
by Michael Vogt
split run-checks.sh from .tarmac.sh to make it easy for developers to run before sending to tarmac |
14 |
./run-checks |