This repository was archived by the owner on Jun 5, 2022. It is now read-only.
File tree 4 files changed +12
-14
lines changed
4 files changed +12
-14
lines changed Original file line number Diff line number Diff line change 1
1
language : node_js
2
- sudo : required
3
2
dist : trusty
4
- node_js : 5
3
+ sudo : required
4
+ node_js : 6
5
5
env :
6
6
- PATH=$HOME/purescript:$PATH
7
7
install :
@@ -13,12 +13,9 @@ install:
13
13
- npm install
14
14
- bower install
15
15
script :
16
- - npm run build
16
+ - npm run -s build
17
17
after_success :
18
18
- >-
19
19
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 2
2
"private" : true ,
3
3
"scripts" : {
4
4
"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 "
6
6
},
7
7
"devDependencies" : {
8
8
"jscs" : " ^2.8.0" ,
9
9
"jshint" : " ^2.9.1" ,
10
- "pulp" : " ^8.1.0" ,
10
+ "pulp" : " ^8.2.0" ,
11
+ "purescript-psa" : " ^0.3.8" ,
11
12
"rimraf" : " ^2.5.0"
12
13
}
13
14
}
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ exports.pow = function (n) {
48
48
} ;
49
49
} ;
50
50
51
- exports [ "%" ] = function ( n ) {
51
+ exports . remainder = function ( n ) {
52
52
return function ( m ) {
53
53
return n % m ;
54
54
} ;
Original file line number Diff line number Diff line change @@ -64,10 +64,10 @@ foreign import tan :: Radians -> Number
64
64
-- | number is positive, and `ceil` if the number is negative.
65
65
foreign import trunc :: Number -> Number
66
66
67
- infixl 7 %
68
-
69
67
-- | 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 %
71
71
72
72
-- | The base of natural logarithms, *e*, around 2.71828.
73
73
foreign import e :: Number
You can’t perform that action at this time.
0 commit comments