git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Merge pull request #646 from purescript/bundle

Create .tar.gz bundle during Travis build

commit81922848ffb7ac638a80f8ca1e2962a43ab4e8f9 authorPhil Freeman <paf31@cantab.net> dateSun 26 Oct 2014, 17:01 (12 years ago) parentfa6bc5f2ef1bc2
2 files changed+10−7
.travis.yml+3−6 bundle/build.sh+7−1
.travis.yml+3−6
@@ -7,16 +7,13 @@ after_script:
77 - hpc-coveralls --exclude-dir=tests tests
88notifications:
99 email: true
10+before_deploy: "./bundle/build.sh linux64"
1011deploy:
1112 provider: releases
1213 api_key: $RELEASE_KEY
1314 file:
14− - dist/build/docgen/docgen
15− - dist/build/hierarchy/hierarchy
16− - dist/build/psc-make/psc-make
17− - dist/build/psc/psc
18− - dist/build/psci/psci
19− - prelude/prelude.purs
15+ - bundle/linux64.tar.gz
16+ - bundle/linux64.sha
2017 skip_cleanup: true
2118 on:
2219 all_branches: true
bundle/build.sh+7−1
@@ -2,7 +2,13 @@ set -e
22
33SCRIPTPATH=$( cd "$(dirname "$0")" ; pwd -P )
44
5−OS=$( uname )
5+OS=$1
6+
7+if [ -z $OS ]
8+then
9+ echo "Usage: build.sh osname"
10+ exit 1
11+fi
612
713pushd ${SCRIPTPATH} > /dev/null
814