Skip to content

Commit d004fb3

Browse files
Update Travis file and npm dev dependencies (#119)
* Update Travis file and npm dev dependencies * Update gitignore
1 parent 70ad3b9 commit d004fb3

File tree

3 files changed

+26
-16
lines changed

3 files changed

+26
-16
lines changed

.gitignore

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,19 @@
11
/.*
22
!/.gitignore
3+
!/.github
34
!/.travis.yml
4-
/bower_components/
5-
/node_modules/
6-
/output/
7-
site/psc.js
5+
6+
# Dependencies
7+
bower_components
8+
node_modules
9+
10+
# Generated files
11+
output
12+
generated-docs
13+
14+
# Lockfiles
815
package-lock.json
16+
*.lock
17+
18+
# Extra files
19+
site/psc.js

.travis.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@ node_js: stable
55
env:
66
- PATH=$HOME/purescript:$PATH
77
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
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
1010
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
1111
- chmod a+x $HOME/purescript
1212
- npm install -g bower
1313
- npm install
14-
script:
1514
- bower install --production
15+
script:
1616
- npm run -s build
1717
- bower install
18-
- npm test
18+
- npm run -s test
1919
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

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66
"test": "pulp test"
77
},
88
"devDependencies": {
9-
"pulp": "^12.2.0",
10-
"purescript-psa": "^0.6.0",
11-
"purescript": "slamdata/node-purescript#0.12",
12-
"rimraf": "^2.6.2"
9+
"pulp": "^14.0.0",
10+
"purescript-psa": "^0.7.3",
11+
"rimraf": "^3.0.2"
1312
}
1413
}

0 commit comments

Comments
 (0)