Skip to content

Commit

Permalink
Merge pull request #14 from purescript/0.8-updates
Browse files Browse the repository at this point in the history
Updates for PureScript 0.8
  • Loading branch information
garyb committed Apr 2, 2016
2 parents 51f7c06 + 9189e7c commit b0b7058
Show file tree
Hide file tree
Showing 7 changed files with 182 additions and 331 deletions.
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.psci
/.*
!/.gitignore
!/.travis.yml
/bower_components/
/node_modules/
/output/
/tmp/
16 changes: 13 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,24 @@
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
- bower 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}"
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
[![Build Status](https://travis-ci.org/purescript/purescript-enums.svg?branch=master)](https://travis-ci.org/purescript/purescript-enums)
[![Dependency Status](https://www.versioneye.com/user/projects/55848c63363861001d000330/badge.svg?style=flat)](https://www.versioneye.com/user/projects/55848c63363861001d000330)

Operations for small ordered sum types.
Operations for sequentially ordered types.

## Installation

```
bower install purescript-enums
```

## Module documentation
## Documentation

- [Data.Enum](docs/Data/Enum.md)
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-enums).
9 changes: 3 additions & 6 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
"name": "purescript-enums",
"homepage": "https://github.com/purescript/purescript-enums",
"description": "Operations for sequentially ordered types",
"keywords": [
"purescript"
],
"license": "MIT",
"repository": {
"type": "git",
Expand All @@ -21,8 +18,8 @@
"package.json"
],
"dependencies": {
"purescript-either": "^0.2.0",
"purescript-strings": "^0.7.0",
"purescript-unfoldable": "^0.4.0"
"purescript-either": "^1.0.0-rc.1",
"purescript-strings": "^1.0.0-rc.1",
"purescript-unfoldable": "^1.0.0-rc.1"
}
}
151 changes: 0 additions & 151 deletions docs/Data/Enum.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.2",
"rimraf": "^2.4.1"
"pulp": "^8.1.0",
"rimraf": "^2.5.0"
}
}
Loading

0 comments on commit b0b7058

Please sign in to comment.