File tree Expand file tree Collapse file tree 11 files changed +86
-72
lines changed Expand file tree Collapse file tree 11 files changed +86
-72
lines changed Original file line number Diff line number Diff line change 1+ /. *
2+ ! /.gitignore
3+ ! /.jscsrc
4+ ! /.jshintrc
5+ ! /.travis.yml
16/bower_components /
27/node_modules /
3- /.pulp-cache /
48/output /
5- /.psci *
6- /src /.webpack.js
Original file line number Diff line number Diff line change 1+ {
2+ "preset" : " grunt" ,
3+ "disallowSpacesInFunctionExpression" : null ,
4+ "requireSpacesInFunctionExpression" : {
5+ "beforeOpeningRoundBrace" : true ,
6+ "beforeOpeningCurlyBrace" : true
7+ },
8+ "disallowSpacesInAnonymousFunctionExpression" : null ,
9+ "requireSpacesInAnonymousFunctionExpression" : {
10+ "beforeOpeningRoundBrace" : true ,
11+ "beforeOpeningCurlyBrace" : true
12+ },
13+ "disallowSpacesInsideObjectBrackets" : null ,
14+ "requireSpacesInsideObjectBrackets" : " all" ,
15+ "validateQuoteMarks" : " \" " ,
16+ "requireCurlyBraces" : null
17+ }
Original file line number Diff line number Diff line change 1+ {
2+ "bitwise" : true ,
3+ "eqeqeq" : true ,
4+ "forin" : true ,
5+ "freeze" : true ,
6+ "funcscope" : true ,
7+ "futurehostile" : true ,
8+ "strict" : " global" ,
9+ "latedef" : true ,
10+ "maxparams" : 1 ,
11+ "noarg" : true ,
12+ "nocomma" : true ,
13+ "nonew" : true ,
14+ "notypeof" : true ,
15+ "singleGroups" : true ,
16+ "undef" : true ,
17+ "unused" : true ,
18+ "eqnull" : true ,
19+ "predef" : [" exports" ]
20+ }
Original file line number Diff line number Diff line change 11language : node_js
2- sudo : false
3- node_js :
4- - 0.10
2+ sudo : required
3+ dist : trusty
4+ node_js : 5
55env :
66 - PATH=$HOME/purescript:$PATH
77install :
8- - wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/v0.8.0-RC1/linux64.tar.gz
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+ - wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
910 - tar -xvf $HOME/purescript.tar.gz -C $HOME/
1011 - chmod a+x $HOME/purescript
12+ - npm install -g bower
1113 - npm install
14+ - bower install
1215script :
13- - npm run build
16+ - npm test
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 @@ Utilities for working with partial functions.
1111bower install purescript-partial
1212```
1313
14- ## Module documentation
14+ ## Documentation
1515
16- - [ Partial.Unsafe ] ( docs/Partial/Unsafe.md )
16+ Module documentation is [ published on Pursuit ] ( http://pursuit.purescript.org/packages/purescript-partial ) .
Original file line number Diff line number Diff line change 11{
22 "name" : " purescript-partial" ,
3- "moduleType" : [
4- " node"
5- ],
6- "ignore" : [
7- " **/.*" ,
8- " node_modules" ,
9- " bower_components" ,
10- " output"
11- ],
3+ "homepage" : " https://github.com/purescript/purescript-partial" ,
4+ "description" : " Mutable value references" ,
5+ "license" : " MIT" ,
126 "repository" : {
137 "type" : " git" ,
148 "url" : " git://github.com/purescript/purescript-partial.git"
15- }
9+ },
10+ "ignore" : [
11+ " **/.*" ,
12+ " bower_components" ,
13+ " node_modules" ,
14+ " output" ,
15+ " test" ,
16+ " bower.json" ,
17+ " package.json"
18+ ]
1619}
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11{
22 "private" : true ,
33 "scripts" : {
4- "postinstall" : " pulp dep install" ,
5- "build" : " pulp build && rimraf docs && pulp docs"
4+ "clean" : " rimraf output && rimraf .pulp-cache" ,
5+ "build" : " jshint src && jscs src && pulp build" ,
6+ "test" : " jshint src && jscs src && pulp test"
67 },
78 "devDependencies" : {
8- "pulp" : " ^6.0.0" ,
9- "rimraf" : " ^2.4.1"
9+ "jscs" : " ^2.8.0" ,
10+ "jshint" : " ^2.9.1" ,
11+ "pulp" : " ^8.1.0" ,
12+ "rimraf" : " ^2.5.0"
1013 }
1114}
Original file line number Diff line number Diff line change 22
33// module Partial
44
5- exports . crashWith = function ( ) {
6- return function ( msg ) {
7- throw new Error ( msg ) ;
8- } ;
5+ exports . crashWith = function ( ) {
6+ return function ( msg ) {
7+ throw new Error ( msg ) ;
8+ } ;
99} ;
You can’t perform that action at this time.
0 commit comments