Skip to content

Commit c334247

Browse files
committed
Merge pull request #20 from purescript/0.8-updates
Updates for PureScript 0.8
2 parents 6182e6b + b7f1924 commit c334247

File tree

14 files changed

+165
-381
lines changed

14 files changed

+165
-381
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: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,24 @@
11
language: node_js
2-
sudo: false
3-
node_js:
4-
- 0.10
2+
sudo: required
3+
dist: trusty
4+
node_js: 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
14+
- bower install
1315
script:
1416
- npm run build
17+
after_success:
18+
- >-
19+
test $TRAVIS_TAG &&
20+
psc-publish > .pursuit.json &&
21+
curl -X POST http://pursuit.purescript.org/packages \
22+
-d @.pursuit.json \
23+
-H 'Accept: application/json' \
24+
-H "Authorization: token ${GITHUB_TOKEN}"

README.md

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,14 @@
44
[![Build Status](https://travis-ci.org/purescript/purescript-maybe.svg?branch=master)](https://travis-ci.org/purescript/purescript-maybe)
55
[![Dependency Status](https://www.versioneye.com/user/projects/55848c22363861001d000326/badge.svg?style=flat)](https://www.versioneye.com/user/projects/55848c22363861001d000326)
66

7-
Optional values.
7+
Optional values. `Maybe` is often used to capture failures and in cases where nullable values might otherwise have been used in other languages.
88

99
## Installation
1010

1111
```
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-rc.1"
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 & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"private": true,
33
"scripts": {
4-
"postinstall": "pulp dep install",
5-
"build": "pulp build && rimraf docs && pulp docs"
4+
"clean": "rimraf output && rimraf .pulp-cache",
5+
"build": "pulp build"
66
},
77
"devDependencies": {
8-
"pulp": "^4.0.1",
9-
"rimraf": "^2.4.1"
8+
"pulp": "^8.1.0",
9+
"rimraf": "^2.5.0"
1010
}
1111
}

0 commit comments

Comments
 (0)