Skip to content

Commit 68314c2

Browse files
committed
Update build & fix error
1 parent eabf6d1 commit 68314c2

File tree

5 files changed

+10
-74
lines changed

5 files changed

+10
-74
lines changed

.travis.yml

Lines changed: 5 additions & 8 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:
@@ -13,12 +13,9 @@ install:
1313
- npm install
1414
- bower install
1515
script:
16-
- npm run build
16+
- npm run -s build
1717
after_success:
1818
- >-
1919
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}"
20+
echo $GITHUB_TOKEN | pulp login &&
21+
echo y | pulp publish --no-push

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@
1919
"dependencies": {
2020
"purescript-eff": "^1.0.0-rc.1",
2121
"purescript-integers": "^1.0.0-rc.1",
22-
"purescript-math": "^1.0.0-rc.1"
22+
"purescript-math": "^2.0.0-rc.1"
2323
}
2424
}

docs/Control/Monad/Eff/Random.md

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

package.json

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

src/Control/Monad/Eff/Random.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,4 @@ randomRange min max = do
4646
-- | Returns a random boolean value with an equal chance of being `true` or
4747
-- | `false`.
4848
randomBool :: forall e. Eff (random :: RANDOM | e) Boolean
49-
randomBool = (< 0.5) <$> random
49+
randomBool = (_ < 0.5) <$> random

0 commit comments

Comments
 (0)