File tree 5 files changed +36
-7
lines changed
5 files changed +36
-7
lines changed Original file line number Diff line number Diff line change
1
+ dist : trusty
2
+ sudo : required
3
+ language : node_js
4
+ node_js : 10
5
+
6
+ install :
7
+ - npm install
8
+
9
+ script :
10
+ - npx bower install
11
+ - npm -s test
12
+
13
+ # after_success:
14
+ # - >-
15
+ # test $TRAVIS_TAG &&
16
+ # echo $GITHUB_TOKEN | pulp login &&
17
+ # echo y | pulp publish --no-push
Original file line number Diff line number Diff line change 1
- all :
1
+ all : node_modules
2
2
purs compile src/* .purs ' ../../src/**/*.purs' ' ../../bower_components/purescript-*/src/**/*.purs'
3
3
purs bundle --module Container output/* /* .js > output/bundle.js
4
4
echo ' module.exports = PS.Container;' >> output/bundle.js
5
- node_modules/browserify/bin/cmd.js output/bundle.js index.js -o html/index.js
5
+ node_modules/.bin/browserify output/bundle.js index.js -o html/index.js
6
+
7
+ node_modules :
8
+ npm install
Original file line number Diff line number Diff line change 1
- all :
1
+ all : node_modules
2
2
purs compile src/* .purs ' ../../src/**/*.purs' ' ../../bower_components/purescript-*/src/**/*.purs'
3
3
purs bundle --module ControlledInput output/* /* .js > output/bundle.js
4
4
echo ' module.exports = PS.ControlledInput;' >> output/bundle.js
5
- node_modules/browserify/bin/cmd.js output/bundle.js index.js -o html/index.js
5
+ node_modules/.bin/browserify output/bundle.js index.js -o html/index.js
6
+
7
+ node_modules :
8
+ npm install
Original file line number Diff line number Diff line change 1
- all :
1
+ all : node_modules
2
2
purs compile src/* .purs ' ../../src/**/*.purs' ' ../../bower_components/purescript-*/src/**/*.purs'
3
3
purs bundle --module Counter output/* /* .js > output/bundle.js
4
4
echo ' module.exports = PS.Counter;' >> output/bundle.js
5
- node_modules/browserify/bin/cmd.js output/bundle.js index.js -o html/index.js
5
+ node_modules/.bin/browserify output/bundle.js index.js -o html/index.js
6
+
7
+ node_modules :
8
+ npm install
9
+
Original file line number Diff line number Diff line change 7
7
"example" : " examples"
8
8
},
9
9
"scripts" : {
10
- "test" : " pulp test"
10
+ "build" : " pulp build && npm run build:examples" ,
11
+ "build:examples" : " PATH=`echo $PATH | sed -e 's/:\\ .\\ /node_modules\\ /\\ .bin//'` find examples -maxdepth 2 -type f -iname makefile -execdir make \\ ;" ,
12
+ "test" : " npm run build"
11
13
},
12
14
"repository" : {
13
15
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments