Skip to content
This repository was archived by the owner on Aug 4, 2023. It is now read-only.

Commit 0f3e8ba

Browse files
authored
Merge pull request #13 from purescript-node/updates
Update dependencies, build & readme badges
2 parents 1d47229 + 86240f0 commit 0f3e8ba

File tree

6 files changed

+34
-316
lines changed

6 files changed

+34
-316
lines changed

.gitignore

+7-8
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
.psci_modules
2-
*.sw[mnopqrstuv]
3-
*.un~
4-
.psci
5-
node_modules
6-
bower_components
7-
output
8-
dist
1+
/.*
2+
!/.gitignore
3+
!/.travis.yml
4+
/bower_components/
5+
/node_modules/
6+
/tmp/
7+
/output/

.travis.yml

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
11
language: node_js
22
dist: trusty
33
sudo: required
4-
node_js:
5-
- 4.1
4+
node_js: 6
65
env:
76
- PATH=$HOME/purescript:$PATH
87
install:
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
1414
script:
15-
- npm run build
16-
- npm run example
15+
- bower install --production
16+
- npm run -s build
17+
- bower install
18+
- npm run -s example
19+
after_success:
20+
- >-
21+
test $TRAVIS_TAG &&
22+
echo $GITHUB_TOKEN | pulp login &&
23+
echo y | pulp publish --no-push

README.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
1-
## Node.FS.Aff
1+
# purescript-node-fs-aff
22

3-
[![Build Status](https://travis-ci.org/purescript-node/purescript-node-fs-aff.svg)](https://travis-ci.org/purescript-node/purescript-node-fs-aff)
3+
[![Latest release](http://img.shields.io/bower/v/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)
5+
[![Dependency Status](https://www.versioneye.com/user/projects/579dffa9aa78d500469f9d71/badge.svg?style=flat)](https://www.versioneye.com/user/projects/579dffa9aa78d500469f9d71)
46

5-
> [Node.FS][Node.FS] Wrappers for [purescript-aff][aff]
7+
[Node.FS][Node.FS] Wrappers for [purescript-aff][aff]
68

79
The `Aff` monad lets you write async code with ease, and `node-fs-aff`
810
lets you easily access the filesystem within `Aff`.
911

10-
#### Example
12+
## Example
1113

1214
Consider asynchronously listing only non-hidden directories:
1315

@@ -24,11 +26,10 @@ main = launchAff do
2426

2527
That was easy. Run `npm run example` to see it work.
2628

27-
#### Documentation
29+
## Documentation
2830

29-
[Read the module docs][docs]
31+
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-node-fs-aff).
3032

3133

3234
[Node.FS]: http://github.com/purescript-node/purescript-node-fs
3335
[aff]: https://github.com/slamdata/purescript-aff
34-
[docs]: http://github.com/purescript-node/purescript-node-fs-aff/blob/master/docs/Node/FS/Aff.md

bower.json

+3-4
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"node"
1414
],
1515
"license": "MIT",
16-
"homepage": "https://github.com/felixSchl/purescript-node-fs-aff",
16+
"homepage": "https://github.com/purescript-node/purescript-node-fs-aff",
1717
"ignore": [
1818
"**/.*",
1919
"node_modules",
@@ -23,13 +23,12 @@
2323
"output",
2424
"tmp",
2525
"bower.json",
26-
"gulpfile.js",
2726
"package.json",
2827
"example"
2928
],
3029
"dependencies": {
31-
"purescript-aff": "^1.0.0",
32-
"purescript-node-fs": "^1.0.0",
30+
"purescript-aff": "^1.1.0",
31+
"purescript-node-fs": "^2.0.0",
3332
"purescript-either": "^1.0.0",
3433
"purescript-node-path": "^1.0.0"
3534
}

docs/Node/FS/Aff.md

-288
This file was deleted.

0 commit comments

Comments
 (0)