We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3970eae + 3a2d278 commit 8c6e7cfCopy full SHA for 8c6e7cf
.travis.yml
@@ -5,8 +5,8 @@ node_js: stable
5
env:
6
- PATH=$HOME/purescript:$PATH
7
install:
8
- - TAG=$(wget -q -O - https://github.com/purescript/purescript/releases/latest --server-response --max-redirect 0 2>&1 | sed -n -e 's/.*Location:.*tag\///p')
9
- - wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
+ - TAG=$(basename $(curl --location --silent --output /dev/null -w %{url_effective} https://github.com/purescript/purescript/releases/latest))
+ - curl --location --output $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
10
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
11
- chmod a+x $HOME/purescript
12
- npm install -g bower
0 commit comments