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 1
1
/. *
2
2
! /.gitignore
3
+ ! /.jscsrc
4
+ ! /.jshintrc
5
+ ! /.travis.yml
3
6
/bower_components /
4
7
/node_modules /
5
- /output /
6
8
/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 1
1
language : node_js
2
- sudo : false
3
- node_js :
4
- - 4
5
- - 5
2
+ dist : trusty
3
+ sudo : required
4
+ node_js : 6
6
5
env :
7
6
- PATH=$HOME/purescript:$PATH
8
7
install :
9
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')
10
9
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
11
10
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
12
11
- chmod a+x $HOME/purescript
12
+ - npm install -g bower
13
13
- npm install
14
14
script :
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 1
1
# purescript-node-fs
2
2
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 )
4
6
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 6
6
" purescript"
7
7
],
8
8
"license" : " MIT" ,
9
+ "repository" : {
10
+ "type" : " git" ,
11
+ "url" : " git://github.com/purescript-node/purescript-node-fs"
12
+ },
9
13
"ignore" : [
10
14
" **/.*" ,
11
15
" bower_components" ,
12
16
" node_modules" ,
17
+ " tmp" ,
13
18
" output" ,
14
19
" bower.json" ,
15
20
" package.json"
28
33
},
29
34
"devDependencies" : {
30
35
"purescript-console" : " ^1.0.0"
31
- },
32
- "repository" : {
33
- "type" : " git" ,
34
- "url" : " git://github.com/purescript-node/purescript-node-fs"
35
36
}
36
37
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"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
+ },
3
8
"devDependencies" : {
9
+ "jscs" : " ^2.8.0" ,
10
+ "jshint" : " ^2.9.1" ,
4
11
"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"
10
14
}
11
15
}
Original file line number Diff line number Diff line change 1
- /* global require */
2
- /* global exports */
3
1
"use strict" ;
4
2
5
- // module Node.FS.Async
6
-
7
3
exports . handleCallbackImpl = function ( left , right , f ) {
8
4
return function ( err , value ) {
9
5
if ( err ) {
Original file line number Diff line number Diff line change 1
1
"use strict" ;
2
- // module Node.FS.Internal
3
2
4
3
exports . unsafeRequireFS = require ( "fs" ) ;
Original file line number Diff line number Diff line change 1
- /* global require */
2
- /* global exports */
3
1
"use strict" ;
4
2
5
- // module Node.FS.Stats
6
-
7
- exports . showStatsObj = require ( 'util' ) . inspect ;
3
+ exports . showStatsObj = require ( "util" ) . inspect ;
8
4
9
5
exports . statsMethod = function ( m , s ) {
10
6
return s [ m ] ( ) ;
11
- }
7
+ } ;
You can’t perform that action at this time.
0 commit comments