Skip to content

Commit

Permalink
Merge pull request #646 from purescript/bundle
Browse files Browse the repository at this point in the history
Create .tar.gz bundle during Travis build
  • Loading branch information
paf31 committed Oct 27, 2014
2 parents fa6bc5f + 2ef1bc2 commit 8192284
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,13 @@ after_script:
- hpc-coveralls --exclude-dir=tests tests
notifications:
email: true
before_deploy: "./bundle/build.sh linux64"
deploy:
provider: releases
api_key: $RELEASE_KEY
file:
- dist/build/docgen/docgen
- dist/build/hierarchy/hierarchy
- dist/build/psc-make/psc-make
- dist/build/psc/psc
- dist/build/psci/psci
- prelude/prelude.purs
- bundle/linux64.tar.gz
- bundle/linux64.sha
skip_cleanup: true
on:
all_branches: true
Expand Down
8 changes: 7 additions & 1 deletion bundle/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@ set -e

SCRIPTPATH=$( cd "$(dirname "$0")" ; pwd -P )

OS=$( uname )
OS=$1

if [ -z $OS ]
then
echo "Usage: build.sh osname"
exit 1
fi

pushd ${SCRIPTPATH} > /dev/null

Expand Down

0 comments on commit 8192284

Please sign in to comment.