diff options
author | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2014-06-08 20:11:40 +0000 |
---|---|---|
committer | Paul Sherwood <paul.sherwood@codethink.co.uk> | 2014-06-11 23:02:49 +0000 |
commit | 14bc0222286f1a2a0a57a7f44315ab292a8eaa04 (patch) | |
tree | 33b14c406c6bda6236827830bd384ac035fd9b77 | |
parent | 4d75762c2ebbae1e7a6f07979fa7985c6a9f4287 (diff) | |
download | go-14bc0222286f1a2a0a57a7f44315ab292a8eaa04.tar.gz |
add morph file, and don't run tests
-rw-r--r-- | go.morph | 11 | ||||
-rwxr-xr-x | src/all.bash | 2 |
2 files changed, 12 insertions, 1 deletions
diff --git a/go.morph b/go.morph new file mode 100644 index 000000000..e2e953e2d --- /dev/null +++ b/go.morph @@ -0,0 +1,11 @@ +name: go +kind: chunk +build-commands: +- export GOROOT_FINAL="$DESTDIR$PREFIX/pkg/go" && export TMPDIR=/tmp && cd src && bash ./all.bash +install-commands: +- mkdir -p "$DESTDIR/$PREFIX/bin" +- cp ./bin/go "$DESTDIR/$PREFIX/bin" +- mkdir -p "$DESTDIR/$PREFIX/lib/go" +- cp -r * "$DESTDIR/$PREFIX/lib/go" +- mkdir -p "$DESTDIR/$PREFIX/pkg/go" +- cp -r ./pkg/*/go/* "$DESTDIR/$PREFIX/pkg/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 |