File tree Expand file tree Collapse file tree 4 files changed +20
-1629
lines changed Expand file tree Collapse file tree 4 files changed +20
-1629
lines changed Original file line number Diff line number Diff line change 2
2
! /.gitignore
3
3
! /.github
4
4
! /.travis.yml
5
- /bower_components /
6
- /node_modules /
7
- /output /
5
+
6
+ # Dependencies
7
+ bower_components
8
+ node_modules
9
+
10
+ # Generated files
11
+ output
12
+ generated-docs
13
+
14
+ # Lockfiles
8
15
package-lock.json
16
+ * .lock
Original file line number Diff line number Diff line change @@ -5,19 +5,19 @@ node_js: stable
5
5
env :
6
6
- PATH=$HOME/purescript:$PATH
7
7
install :
8
- - npm install -g bower
9
- - 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')
10
- - wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
8
+ - TAG=$(basename $(curl --location --silent --output /dev/null -w %{url_effective} https://github.com/purescript/purescript/releases/latest))
9
+ - curl --location --output $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
11
10
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
12
11
- chmod a+x $HOME/purescript
12
+ - npm install -g bower
13
13
- npm install
14
14
- bower install --production
15
15
script :
16
16
- npm run -s build
17
17
- bower install
18
18
- npm run -s test
19
19
after_success :
20
- - >-
21
- test $TRAVIS_TAG &&
22
- echo $GITHUB_TOKEN | pulp login &&
23
- echo y | pulp publish --no-push
20
+ - >-
21
+ test $TRAVIS_TAG &&
22
+ echo $GITHUB_TOKEN | pulp login &&
23
+ echo y | pulp publish --no-push
You can’t perform that action at this time.
0 commit comments