This repository was archived by the owner on Jun 5, 2022. It is now read-only.
File tree 8 files changed +29
-246
lines changed
8 files changed +29
-246
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"preset" : " grunt" ,
3
+ "disallowSpacesInFunctionExpression" : null ,
4
+ "requireSpacesInFunctionExpression" : {
5
+ "beforeOpeningRoundBrace" : true ,
6
+ "beforeOpeningCurlyBrace" : true
7
+ },
3
8
"disallowSpacesInAnonymousFunctionExpression" : null ,
4
9
"requireSpacesInAnonymousFunctionExpression" : {
5
10
"beforeOpeningRoundBrace" : true ,
Original file line number Diff line number Diff line change 5
5
"freeze" : true ,
6
6
"funcscope" : true ,
7
7
"futurehostile" : true ,
8
- "globalstrict " : true ,
8
+ "strict " : " global " ,
9
9
"latedef" : true ,
10
10
"maxparams" : 1 ,
11
11
"noarg" : true ,
15
15
"singleGroups" : true ,
16
16
"undef" : true ,
17
17
"unused" : true ,
18
- "eqnull" : true
18
+ "eqnull" : true ,
19
+ "predef" : [" exports" ]
19
20
}
Original file line number Diff line number Diff line change 1
1
language : node_js
2
- sudo : false
3
- node_js :
4
- - 0.10
2
+ sudo : required
3
+ dist : trusty
4
+ node_js : 5
5
5
env :
6
6
- PATH=$HOME/purescript:$PATH
7
7
install :
8
8
- TAG=$(wget -q -O - https://github.com/purescript/purescript/releases/latest --server-response --max-redirect 0 2>&1 | sed -n -e 's/.*Location:.*tag\///p')
9
9
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
10
10
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
11
11
- chmod a+x $HOME/purescript
12
+ - npm install -g bower
12
13
- npm install
14
+ - bower install
13
15
script :
14
16
- npm run build
17
+ after_success :
18
+ - >-
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}"
Original file line number Diff line number Diff line change @@ -11,6 +11,6 @@ Standard math functions from JavaScript.
11
11
bower install purescript-math
12
12
```
13
13
14
- ## Module documentation
14
+ ## Documentation
15
15
16
- - [ Math ] ( docs/Math.md )
16
+ Module documentation is [ published on Pursuit ] ( http://pursuit.purescript.org/packages/purescript-math ) .
Original file line number Diff line number Diff line change 2
2
"name" : " purescript-math" ,
3
3
"homepage" : " https://github.com/purescript/purescript-math" ,
4
4
"description" : " Math functions" ,
5
- "keywords" : [
6
- " purescript"
7
- ],
8
5
"license" : " MIT" ,
9
6
"repository" : {
10
7
"type" : " git" ,
17
14
" output" ,
18
15
" test" ,
19
16
" bower.json" ,
20
- " gulpfile.js" ,
21
17
" package.json"
22
18
]
23
19
}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
{
2
2
"private" : true ,
3
3
"scripts" : {
4
- "postinstall " : " pulp dep install " ,
5
- "build" : " jshint src && jscs src && pulp build && rimraf docs && pulp docs "
4
+ "clean " : " rimraf output && rimraf .pulp-cache " ,
5
+ "build" : " jshint src && jscs src && pulp build"
6
6
},
7
7
"devDependencies" : {
8
- "jscs" : " ^1.13.1 " ,
9
- "jshint" : " ^2.8.0 " ,
10
- "pulp" : " ^4.0.2 " ,
11
- "rimraf" : " ^2.4.1 "
8
+ "jscs" : " ^2.8.0 " ,
9
+ "jshint" : " ^2.9.1 " ,
10
+ "pulp" : " ^8.1.0 " ,
11
+ "rimraf" : " ^2.5.0 "
12
12
}
13
13
}
Original file line number Diff line number Diff line change 1
- /* global exports */
2
1
"use strict" ;
3
2
4
3
// module Math
You can’t perform that action at this time.
0 commit comments