Skip to content

Commit a8d289a

Browse files
committed
Updates for PureScript 0.8
1 parent 6182e6b commit a8d289a

14 files changed

+169
-366
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@
44
/bower_components/
55
/node_modules/
66
/output/
7-
/tmp/

.travis.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,23 @@
11
language: node_js
22
sudo: false
33
node_js:
4-
- 0.10
4+
- 5
55
env:
66
- PATH=$HOME/purescript:$PATH
77
install:
88
- 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')
99
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
1010
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
1111
- chmod a+x $HOME/purescript
12+
- npm install -g bower
1213
- npm install
1314
script:
1415
- npm run build
16+
after_success:
17+
- >-
18+
test $TRAVIS_TAG &&
19+
psc-publish > .pursuit.json &&
20+
curl -X POST http://pursuit.purescript.org/packages \
21+
-d @.pursuit.json \
22+
-H 'Accept: application/json' \
23+
-H "Authorization: token ${GITHUB_TOKEN}"

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ Optional values.
1212
bower install purescript-maybe
1313
```
1414

15-
## Module documentation
15+
## Documentation
1616

17-
- [Data.Maybe](docs/Data/Maybe.md)
18-
- [Data.Maybe.Unsafe](docs/Data/Maybe/Unsafe.md)
19-
20-
### Maybe monoids
21-
22-
- [Data.Maybe.First](docs/Data/Maybe/First.md)
23-
- [Data.Maybe.Last](docs/Data/Maybe/Last.md)
17+
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-maybe).

bower.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
"name": "purescript-maybe",
33
"homepage": "https://github.com/purescript/purescript-maybe",
44
"description": "Optional values",
5-
"keywords": [
6-
"purescript"
7-
],
85
"license": "MIT",
96
"repository": {
107
"type": "git",
@@ -17,10 +14,9 @@
1714
"output",
1815
"test",
1916
"bower.json",
20-
"gulpfile.js",
2117
"package.json"
2218
],
2319
"dependencies": {
24-
"purescript-monoid": "^0.3.0"
20+
"purescript-monoid": "^1.0.0"
2521
}
2622
}

docs/Data/Maybe.md

Lines changed: 0 additions & 121 deletions
This file was deleted.

docs/Data/Maybe/First.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

docs/Data/Maybe/Last.md

Lines changed: 0 additions & 42 deletions
This file was deleted.

docs/Data/Maybe/Unsafe.md

Lines changed: 0 additions & 13 deletions
This file was deleted.

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
"private": true,
33
"scripts": {
44
"postinstall": "pulp dep install",
5-
"build": "pulp build && rimraf docs && pulp docs"
5+
"clean": "rimraf output && rimraf .pulp-cache",
6+
"build": "pulp build"
67
},
78
"devDependencies": {
8-
"pulp": "^4.0.1",
9-
"rimraf": "^2.4.1"
9+
"pulp": "^7.0.0",
10+
"rimraf": "^2.5.0"
1011
}
1112
}

0 commit comments

Comments
 (0)