This repository was archived by the owner on Aug 4, 2023. It is now read-only.
File tree 6 files changed +49
-73
lines changed
6 files changed +49
-73
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ pull_request :
7
+ branches : [master]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+
15
+ - uses : purescript-contrib/setup-purescript@main
16
+
17
+ - uses : actions/setup-node@v1
18
+ with :
19
+ node-version : " 10"
20
+
21
+ - name : Install dependencies
22
+ run : |
23
+ npm install -g bower
24
+ npm install
25
+ bower install --production
26
+
27
+ - name : Build source
28
+ run : npm run-script build
29
+
30
+ - name : Run tests
31
+ run : |
32
+ bower install
33
+ npm run-script test --if-present
Original file line number Diff line number Diff line change 1
1
/. *
2
2
! /.gitignore
3
- ! /.travis.yml
3
+ ! /.github /
4
4
/bower_components /
5
5
/node_modules /
6
6
/tmp /
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# purescript-node-fs-aff
2
2
3
3
[ ![ Latest release] ( http://img.shields.io/github/release/purescript-node/purescript-node-fs-aff.svg )] ( https://github.com/purescript-node/purescript-node-fs-aff/releases )
4
- [ ![ Build Status] ( https://travis-ci.org/purescript-node/purescript-node-fs-aff.svg?branch=master )] ( https://travis-ci.org/purescript-node/purescript-node-fs-aff )
4
+ [ ![ Build status] ( https://github.com/purescript-node/purescript-node-fs-aff/workflows/CI/badge.svg?branch=master )] ( https://github.com/purescript-node/purescript-node-fs-aff/actions?query=workflow%3ACI+branch%3Amaster )
5
+ [ ![ Pursuit] ( https://pursuit.purescript.org/packages/purescript-node-fs-aff/badge )] ( https://pursuit.purescript.org/packages/purescript-node-fs-aff )
5
6
6
- [ Node.FS] [ Node.FS ] Wrappers for [ purescript-aff] [ aff ]
7
+ [ Node.FS] [ node.fs ] wrappers for [ purescript-aff] [ aff ] .
7
8
8
- The ` Aff ` monad lets you write async code with ease, and ` node-fs-aff `
9
- lets you easily access the filesystem within ` Aff ` .
9
+ The ` Aff ` monad lets you write async code with ease, and ` node-fs-aff ` lets you easily access the filesystem within ` Aff ` .
10
+
11
+ ## Installation
12
+
13
+ ```
14
+ spago install node-fs-aff
15
+ ```
10
16
11
17
## Example
12
18
13
19
Consider asynchronously listing only non-hidden directories:
14
20
15
- ``` purescript
21
+ ``` purescript
16
22
main = launchAff do
17
23
files <- FS.readdir "."
18
24
files' <- flip filterM files \file -> do
@@ -29,6 +35,5 @@ That was easy. Run `npm run example` to see it work.
29
35
30
36
Module documentation is [ published on Pursuit] ( http://pursuit.purescript.org/packages/purescript-node-fs-aff ) .
31
37
32
-
33
- [ Node.FS ] : http://github.com/purescript-node/purescript-node-fs
38
+ [ node.fs ] : http://github.com/purescript-node/purescript-node-fs
34
39
[ aff ] : https://github.com/slamdata/purescript-aff
Original file line number Diff line number Diff line change 6
6
"test" : " pulp test"
7
7
},
8
8
"devDependencies" : {
9
- "pulp" : " ^12.2 .0" ,
10
- "purescript-psa" : " ^0.6 .0" ,
11
- "rimraf" : " ^2.6 .2"
9
+ "pulp" : " ^15.0 .0" ,
10
+ "purescript-psa" : " ^0.8 .0" ,
11
+ "rimraf" : " ^3.0 .2"
12
12
}
13
13
}
You can’t perform that action at this time.
0 commit comments