Skip to content

Commit

Permalink
Update build & fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
garyb committed May 20, 2016
1 parent 248d395 commit 87dd5f1
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
17 changes: 8 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
language: node_js
sudo: required
dist: trusty
node_js: 5
sudo: required
node_js: 6
env:
- PATH=$HOME/purescript:$PATH
install:
Expand All @@ -11,14 +11,13 @@ install:
- chmod a+x $HOME/purescript
- npm install -g bower
- npm install
- bower install
script:
- npm run build
- bower install --production
- npm run -s build
- bower install
- npm -s test
after_success:
- >-
test $TRAVIS_TAG &&
psc-publish > .pursuit.json &&
curl -X POST http://pursuit.purescript.org/packages \
-d @.pursuit.json \
-H 'Accept: application/json' \
-H "Authorization: token ${GITHUB_TOKEN}"
echo $GITHUB_TOKEN | pulp login &&
echo y | pulp publish --no-push
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"devDependencies": {
"purescript-assert": "^1.0.0-rc.1",
"purescript-console": "^1.0.0-rc.1",
"purescript-partial": "^1.1.0"
"purescript-partial": "^1.1.2"
}
}
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
"private": true,
"scripts": {
"clean": "rimraf output && rimraf .pulp-cache",
"build": "jshint src && jscs src && pulp build",
"test": "jshint src && jscs src && pulp test"
"build": "jshint src && jscs src && pulp build --censor-lib --strict",
"test": "pulp test"
},
"devDependencies": {
"jscs": "^2.8.0",
"jshint": "^2.9.1",
"pulp": "^8.1.0",
"pulp": "^8.2.0",
"purescript-psa": "^0.3.8",
"rimraf": "^2.5.0"
}
}
2 changes: 0 additions & 2 deletions src/Data/Char.purs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ module Data.Char
, toUpper
) where

import Prelude

-- | Returns the numeric Unicode value of the character.
foreign import toCharCode :: Char -> Int

Expand Down

0 comments on commit 87dd5f1

Please sign in to comment.