File tree Expand file tree Collapse file tree 10 files changed +83
-29
lines changed Expand file tree Collapse file tree 10 files changed +83
-29
lines changed Original file line number Diff line number Diff line change 11/. *
22! /.gitignore
3+ ! /.jscsrc
4+ ! /.jshintrc
5+ ! /.travis.yml
36/bower_components /
47/node_modules /
5- /output /
68/tmp /
7- docs / Node / FS / Internal.md
9+ / output /
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+ "noarg" : true ,
11+ "nocomma" : true ,
12+ "nonew" : true ,
13+ "notypeof" : true ,
14+ "singleGroups" : true ,
15+ "undef" : true ,
16+ "unused" : true ,
17+ "eqnull" : true ,
18+ "predef" : [" exports" , " require" ]
19+ }
Original file line number Diff line number Diff line change 11language : node_js
2- sudo : false
3- node_js :
4- - 4
5- - 5
2+ dist : trusty
3+ sudo : required
4+ node_js : 6
65env :
76 - PATH=$HOME/purescript:$PATH
87install :
98 - 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')
109 - wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
1110 - tar -xvf $HOME/purescript.tar.gz -C $HOME/
1211 - chmod a+x $HOME/purescript
12+ - npm install -g bower
1313 - npm install
1414script :
15- - npm run build
15+ - bower install --production
16+ - npm run -s build
17+ - bower install
18+ - npm -s test
19+ after_success :
20+ - >-
21+ test $TRAVIS_TAG &&
22+ echo $GITHUB_TOKEN | pulp login &&
23+ echo y | pulp publish --no-push
Original file line number Diff line number Diff line change 11# purescript-node-fs
22
3- Bindings to node's "fs" module.
3+ [ ![ Latest release] ( http://img.shields.io/bower/v/purescript-node-fs.svg )] ( https://github.com/purescript-node/purescript-node-fs/releases )
4+ [ ![ Build Status] ( https://travis-ci.org/purescript-node/purescript-node-fs.svg?branch=master )] ( https://travis-ci.org/purescript-node/purescript-node-fs )
5+ [ ![ Dependency Status] ( https://www.versioneye.com/user/projects/575bdefb7757a0003bd4bff5/badge.svg?style=flat )] ( https://www.versioneye.com/user/projects/575bdefb7757a0003bd4bff5 )
46
5- Module documentation is hosted on [ Pursuit] ( http://pursuit.purescript.org/packages/purescript-node-fs ) .
7+ PureScript bindings to node's ` fs ` module.
8+
9+ ## Installation
10+
11+ ```
12+ bower install purescript-node-fs
13+ ```
14+
15+ ## Documentation
16+
17+ Module documentation is [ published on Pursuit] ( http://pursuit.purescript.org/packages/purescript-node-fs ) .
Original file line number Diff line number Diff line change 66 " purescript"
77 ],
88 "license" : " MIT" ,
9+ "repository" : {
10+ "type" : " git" ,
11+ "url" : " git://github.com/purescript-node/purescript-node-fs"
12+ },
913 "ignore" : [
1014 " **/.*" ,
1115 " bower_components" ,
1216 " node_modules" ,
17+ " tmp" ,
1318 " output" ,
1419 " bower.json" ,
1520 " package.json"
2833 },
2934 "devDependencies" : {
3035 "purescript-console" : " ^1.0.0"
31- },
32- "repository" : {
33- "type" : " git" ,
34- "url" : " git://github.com/purescript-node/purescript-node-fs"
3536 }
3637}
Original file line number Diff line number Diff line change 11{
22 "private" : true ,
3+ "scripts" : {
4+ "clean" : " rimraf output && rimraf .pulp-cache" ,
5+ "build" : " jshint src && jscs src && pulp build --censor-lib --strict" ,
6+ "test" : " pulp test"
7+ },
38 "devDependencies" : {
9+ "jscs" : " ^2.8.0" ,
10+ "jshint" : " ^2.9.1" ,
411 "pulp" : " ^9.0.1" ,
5- "bower" : " ^1.7.7"
6- },
7- "scripts" : {
8- "postinstall" : " bower install" ,
9- "build" : " pulp build"
12+ "purescript-psa" : " ^0.3.8" ,
13+ "rimraf" : " ^2.5.0"
1014 }
1115}
Original file line number Diff line number Diff line change 1- /* global require */
2- /* global exports */
31"use strict" ;
42
5- // module Node.FS.Async
6-
73exports . handleCallbackImpl = function ( left , right , f ) {
84 return function ( err , value ) {
95 if ( err ) {
Original file line number Diff line number Diff line change 11"use strict" ;
2- // module Node.FS.Internal
32
43exports . unsafeRequireFS = require ( "fs" ) ;
Original file line number Diff line number Diff line change 1- /* global require */
2- /* global exports */
31"use strict" ;
42
5- // module Node.FS.Stats
6-
7- exports . showStatsObj = require ( 'util' ) . inspect ;
3+ exports . showStatsObj = require ( "util" ) . inspect ;
84
95exports . statsMethod = function ( m , s ) {
106 return s [ m ] ( ) ;
11- }
7+ } ;
You can’t perform that action at this time.
0 commit comments