diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2014-06-15 12:20:50 +0000 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2014-06-15 12:20:50 +0000 |
commit | 1249bbde3ceb789af50f87fa08dafd1fa0508fed (patch) | |
tree | 163a4f097fd75f63516c8b41ba16ddb4ee187d4f | |
parent | 4d75762c2ebbae1e7a6f07979fa7985c6a9f4287 (diff) | |
download | go-1249bbde3ceb789af50f87fa08dafd1fa0508fed.tar.gz |
working go.morph, do not run tests during build
-rw-r--r-- | go.morph | 9 | ||||
-rwxr-xr-x | src/all.bash | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/go.morph b/go.morph new file mode 100644 index 000000000..f3ac95c57 --- /dev/null +++ b/go.morph @@ -0,0 +1,9 @@ +name: go +kind: chunk +build-commands: +- export GOROOT_FINAL="$PREFIX/lib/go" && export TMPDIR=/tmp && cd src && bash ./all.bash +install-commands: +- mkdir -p "$DESTDIR$PREFIX/lib/go" +- cp -r . "$DESTDIR$PREFIX/lib/go" +- mkdir -p "$DESTDIR$PREFIX/bin" +- ln -s "$PREFIX/lib/go/bin/go" "$DESTDIR$PREFIX/bin/go" diff --git a/src/all.bash b/src/all.bash index 488ca4679..167ff199e 100755 --- a/src/all.bash +++ b/src/all.bash @@ -10,6 +10,6 @@ if [ ! -f make.bash ]; then fi OLDPATH="$PATH" . ./make.bash --no-banner -bash run.bash --no-rebuild +# bash run.bash --no-rebuild PATH="$OLDPATH" $GOTOOLDIR/dist banner # print build info |