This repository was archived by the owner on Jun 5, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +12
-14
lines changed Expand file tree Collapse file tree 4 files changed +12
-14
lines changed Original file line number Diff line number Diff line change 11language : node_js
2- sudo : required
32dist : trusty
4- node_js : 5
3+ sudo : required
4+ node_js : 6
55env :
66 - PATH=$HOME/purescript:$PATH
77install :
@@ -13,12 +13,9 @@ install:
1313 - npm install
1414 - bower install
1515script :
16- - npm run build
16+ - npm run -s build
1717after_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
Original file line number Diff line number Diff line change 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}
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ exports.pow = function (n) {
4848 } ;
4949} ;
5050
51- exports [ "%" ] = function ( n ) {
51+ exports . remainder = function ( n ) {
5252 return function ( m ) {
5353 return n % m ;
5454 } ;
Original file line number Diff line number Diff line change @@ -64,10 +64,10 @@ foreign import tan :: Radians -> Number
6464-- | number is positive, and `ceil` if the number is negative.
6565foreign import trunc :: Number -> Number
6666
67- infixl 7 %
68-
6967-- | Computes the remainder after division, wrapping Javascript's `%` operator.
70- foreign import (%) :: Number -> Number -> Number
68+ foreign import remainder :: Number -> Number -> Number
69+
70+ infixl 7 remainder as %
7171
7272-- | The base of natural logarithms, *e*, around 2.71828.
7373foreign import e :: Number
You can’t perform that action at this time.
0 commit comments