Skip to content

Commit 6cfa0de

Browse files
committed
Switch to pulp build
1 parent 3fe427e commit 6cfa0de

File tree

3 files changed

+18
-50
lines changed

3 files changed

+18
-50
lines changed

.travis.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
11
language: node_js
22
dist: trusty
33
sudo: required
4-
node_js:
5-
- 4
4+
node_js: 6
65
install:
7-
- npm install bower gulp -g
8-
- npm install && bower install
6+
- npm install -g bower
7+
- npm install
98
script:
10-
- gulp
9+
- bower install --production
10+
- npm run -s build
11+
- bower install
12+
- npm -s test
1113
after_success:
1214
- >-
1315
test $TRAVIS_TAG &&
14-
node_modules/.bin/psc-publish > .pursuit.json &&
15-
curl -X POST http://pursuit.purescript.org/packages \
16-
-d @.pursuit.json \
17-
-H 'Accept: application/json' \
18-
-H "Authorization: token ${GITHUB_TOKEN}"
16+
echo $GITHUB_TOKEN | pulp login &&
17+
echo y | pulp publish --no-push

gulpfile.js

Lines changed: 0 additions & 34 deletions
This file was deleted.

package.json

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
{
22
"private": true,
3+
"scripts": {
4+
"clean": "rimraf output && rimraf .pulp-cache",
5+
"build": "pulp build --censor-lib --strict",
6+
"test": "pulp test"
7+
},
38
"devDependencies": {
4-
"gulp": "^3.8.11",
5-
"gulp-jscs": "^1.6.0",
6-
"gulp-jshint": "^1.11.2",
7-
"gulp-purescript": "^1.0.0",
8-
"gulp-run": "^1.6.8",
9-
"purescript": "^0.9.1"
9+
"pulp": "^9.0.0",
10+
"purescript-psa": "^0.3.9",
11+
"purescript": "^0.9.1",
12+
"rimraf": "^2.5.0"
1013
}
1114
}

0 commit comments

Comments
 (0)