Skip to content

Commit 87dd5f1

Browse files
committed
Update build & fix warning
1 parent 248d395 commit 87dd5f1

File tree

4 files changed

+13
-15
lines changed

4 files changed

+13
-15
lines changed

.travis.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: node_js
2-
sudo: required
32
dist: trusty
4-
node_js: 5
3+
sudo: required
4+
node_js: 6
55
env:
66
- PATH=$HOME/purescript:$PATH
77
install:
@@ -11,14 +11,13 @@ install:
1111
- chmod a+x $HOME/purescript
1212
- npm install -g bower
1313
- npm install
14-
- bower install
1514
script:
16-
- npm run build
15+
- bower install --production
16+
- npm run -s build
17+
- bower install
18+
- npm -s test
1719
after_success:
1820
- >-
1921
test $TRAVIS_TAG &&
20-
psc-publish > .pursuit.json &&
21-
curl -X POST http://pursuit.purescript.org/packages \
22-
-d @.pursuit.json \
23-
-H 'Accept: application/json' \
24-
-H "Authorization: token ${GITHUB_TOKEN}"
22+
echo $GITHUB_TOKEN | pulp login &&
23+
echo y | pulp publish --no-push

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"devDependencies": {
2424
"purescript-assert": "^1.0.0-rc.1",
2525
"purescript-console": "^1.0.0-rc.1",
26-
"purescript-partial": "^1.1.0"
26+
"purescript-partial": "^1.1.2"
2727
}
2828
}

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@
22
"private": true,
33
"scripts": {
44
"clean": "rimraf output && rimraf .pulp-cache",
5-
"build": "jshint src && jscs src && pulp build",
6-
"test": "jshint src && jscs src && pulp test"
5+
"build": "jshint src && jscs src && pulp build --censor-lib --strict",
6+
"test": "pulp test"
77
},
88
"devDependencies": {
99
"jscs": "^2.8.0",
1010
"jshint": "^2.9.1",
11-
"pulp": "^8.1.0",
11+
"pulp": "^8.2.0",
12+
"purescript-psa": "^0.3.8",
1213
"rimraf": "^2.5.0"
1314
}
1415
}

src/Data/Char.purs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ module Data.Char
66
, toUpper
77
) where
88

9-
import Prelude
10-
119
-- | Returns the numeric Unicode value of the character.
1210
foreign import toCharCode :: Char -> Int
1311

0 commit comments

Comments
 (0)