Skip to content

Commit

Permalink
Updates for PureScript 0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
garyb committed Mar 13, 2016
1 parent 6182e6b commit ca3e383
Show file tree
Hide file tree
Showing 14 changed files with 164 additions and 381 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
/bower_components/
/node_modules/
/output/
/tmp/
15 changes: 12 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
language: node_js
sudo: false
node_js:
- 0.10
sudo: required
dist: trusty
node_js: 5
env:
- PATH=$HOME/purescript:$PATH
install:
- 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')
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
- chmod a+x $HOME/purescript
- npm install -g bower
- npm install
script:
- npm run build
after_success:
- >-
test $TRAVIS_TAG &&
psc-publish > .pursuit.json &&
curl -X POST http://pursuit.purescript.org/packages \
-d @.pursuit.json \
-H 'Accept: application/json' \
-H "Authorization: token ${GITHUB_TOKEN}"
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,14 @@
[![Build Status](https://travis-ci.org/purescript/purescript-maybe.svg?branch=master)](https://travis-ci.org/purescript/purescript-maybe)
[![Dependency Status](https://www.versioneye.com/user/projects/55848c22363861001d000326/badge.svg?style=flat)](https://www.versioneye.com/user/projects/55848c22363861001d000326)

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

## Installation

```
bower install purescript-maybe
```

## Module documentation
## Documentation

- [Data.Maybe](docs/Data/Maybe.md)
- [Data.Maybe.Unsafe](docs/Data/Maybe/Unsafe.md)

### Maybe monoids

- [Data.Maybe.First](docs/Data/Maybe/First.md)
- [Data.Maybe.Last](docs/Data/Maybe/Last.md)
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-maybe).
6 changes: 1 addition & 5 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"name": "purescript-maybe",
"homepage": "https://github.com/purescript/purescript-maybe",
"description": "Optional values",
"keywords": [
"purescript"
],
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -17,10 +14,9 @@
"output",
"test",
"bower.json",
"gulpfile.js",
"package.json"
],
"dependencies": {
"purescript-monoid": "^0.3.0"
"purescript-monoid": "^1.0.0-rc.1"
}
}
121 changes: 0 additions & 121 deletions docs/Data/Maybe.md

This file was deleted.

42 changes: 0 additions & 42 deletions docs/Data/Maybe/First.md

This file was deleted.

42 changes: 0 additions & 42 deletions docs/Data/Maybe/Last.md

This file was deleted.

13 changes: 0 additions & 13 deletions docs/Data/Maybe/Unsafe.md

This file was deleted.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"private": true,
"scripts": {
"postinstall": "pulp dep install",
"build": "pulp build && rimraf docs && pulp docs"
"clean": "rimraf output && rimraf .pulp-cache",
"build": "pulp build"
},
"devDependencies": {
"pulp": "^4.0.1",
"rimraf": "^2.4.1"
"pulp": "^8.1.0",
"rimraf": "^2.5.0"
}
}
Loading

0 comments on commit ca3e383

Please sign in to comment.