File tree Expand file tree Collapse file tree 3 files changed +19
-17
lines changed Expand file tree Collapse file tree 3 files changed +19
-17
lines changed Original file line number Diff line number Diff line change 11/. *
22! /.gitignore
3+ ! /.travis.yml
34/bower_components /
45/node_modules /
56/output /
6- /tmp /
Original file line number Diff line number Diff line change 11language : node_js
2- sudo : false
3- node_js :
4- - 4.1
5- env :
6- - PATH=$HOME/purescript:$PATH
2+ dist : trusty
3+ sudo : required
4+ node_js : 6
75install :
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
10- - tar -xvf $HOME/purescript.tar.gz -C $HOME/
11- - chmod a+x $HOME/purescript
126 - npm install -g bower
137 - npm install
8+ - bower install
149script :
15- - npm run build
10+ - npm run -s build
11+ after_success :
12+ - >-
13+ test $TRAVIS_TAG &&
14+ echo $GITHUB_TOKEN | pulp login &&
15+ echo y | pulp publish --no-push
Original file line number Diff line number Diff line change 11{
22 "private" : true ,
3- "devDependencies" : {
4- "pulp" : " ^9.0.0" ,
5- "rimraf" : " ^2.4.1"
6- },
73 "scripts" : {
8- "postinstall" : " bower install" ,
9- "build" : " pulp build && pulp test && rimraf docs && pulp docs"
4+ "clean" : " rimraf output && rimraf .pulp-cache" ,
5+ "build" : " pulp build --censor-lib --strict"
6+ },
7+ "devDependencies" : {
8+ "pulp" : " ^9.0.1" ,
9+ "purescript-psa" : " ^0.3.9" ,
10+ "purescript" : " ^0.10.1" ,
11+ "rimraf" : " ^2.5.4"
1012 }
1113}
You can’t perform that action at this time.
0 commit comments