Skip to content

Commit 16b380c

Browse files
Update Travis file and npm dev dependencies (#71)
* Update Travis file and npm dev dependencies * Update gitignore
1 parent 12ff339 commit 16b380c

File tree

3 files changed

+33
-16
lines changed

3 files changed

+33
-16
lines changed

.gitignore

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

.travis.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,22 @@ language: node_js
22
dist: trusty
33
sudo: required
44
node_js: stable
5+
env:
6+
- PATH=$HOME/purescript:$PATH
57
install:
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
10+
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
11+
- chmod a+x $HOME/purescript
612
- npm install -g bower
713
- npm install
8-
script:
914
- bower install --production
15+
script:
1016
- npm run -s build
1117
- bower install
12-
- npm -s test
18+
- npm run -s test
1319
after_success:
14-
- >-
15-
test $TRAVIS_TAG &&
16-
echo $GITHUB_TOKEN | pulp login &&
17-
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: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@
88
"test:serve": "static test"
99
},
1010
"devDependencies": {
11-
"node-static": "^0.7.10",
12-
"pulp": "^12.0.0",
13-
"purescript": "^0.12.0",
14-
"purescript-psa": "^0.6.0",
15-
"rimraf": "^2.5.4"
11+
"node-static": "^0.7.11",
12+
"pulp": "^14.0.0",
13+
"purescript-psa": "^0.7.3",
14+
"rimraf": "^3.0.2"
1615
}
1716
}

0 commit comments

Comments
 (0)