Skip to content

Commit c0d07b9

Browse files
authored
Merge pull request #2 from garyb/0.9-updates
Update for PureScript 0.9
2 parents d0572d0 + 98874b7 commit c0d07b9

File tree

10 files changed

+52
-38
lines changed

10 files changed

+52
-38
lines changed

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
/.*
2+
!/.gitignore
3+
!/.travis.yml
14
/bower_components/
25
/node_modules/
3-
/.pulp-cache/
46
/output/
5-
/.psci*
6-
/src/.webpack.js

.travis.yml

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
language: node_js
22
dist: trusty
33
sudo: required
4-
node_js:
5-
- 5
4+
node_js: 6
65
install:
7-
- npm install pulp bower -g
8-
- npm install && bower install
6+
- npm install -g bower
7+
- npm install
8+
- bower install
99
script:
10-
- pulp test
11-
10+
- npm run -s build
1211
after_success:
13-
- >-
14-
test $TRAVIS_TAG &&
15-
psc-publish > .pursuit.json &&
16-
curl -X POST http://pursuit.purescript.org/packages \
17-
-d @.pursuit.json \
18-
-H 'Accept: application/json' \
19-
-H "Authorization: token ${GITHUB_TOKEN}"
12+
- >-
13+
test $TRAVIS_TAG &&
14+
echo $GITHUB_TOKEN | pulp login &&
15+
echo y | pulp publish --no-push

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# purescript-fixed-points
2+
3+
[![Latest release](http://img.shields.io/bower/v/purescript-fixed-points.svg)](https://github.com/purescript/purescript-fixed-points/releases)
4+
[![Build Status](https://travis-ci.org/purescript/purescript-fixed-points.svg?branch=master)](https://travis-ci.org/purescript/purescript-fixed-points)
5+
[![Dependency Status](https://www.versioneye.com/user/projects/578d3dce3e6a8b0030c9b38a/badge.svg?style=flat)](https://www.versioneye.com/user/projects/578d3dce3e6a8b0030c9b38a)
6+
7+
Types for the least (`Mu`) and greatest (`Nu`) fixed points of functors.
8+
9+
## Installation
10+
11+
```
12+
bower install purescript-fixed-points
13+
```
14+
15+
## Documentation
16+
17+
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-fixed-points).

bower.json

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,24 @@
11
{
22
"name": "purescript-fixed-points",
3-
"version": "0.2.0",
43
"license": "Apache-2.0",
54
"authors": [
65
"Jon Sterling <jon@jonmsterling.com>"
76
],
8-
"moduleType": [
9-
"node"
10-
],
7+
"repository": {
8+
"type": "git",
9+
"url": "git://github.com/slamdata/purescript-fixed-points.git"
10+
},
1111
"ignore": [
1212
"**/.*",
13-
"node_modules",
1413
"bower_components",
15-
"output"
14+
"node_modules",
15+
"output",
16+
"test",
17+
"bower.json",
18+
"package.json"
1619
],
1720
"dependencies": {
18-
"purescript-console": "^0.1.0",
19-
"purescript-exists": "^0.2.0"
21+
"purescript-exists": "^1.0.0",
22+
"purescript-prelude": "^1.0.0"
2023
}
2124
}

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
{
22
"private": true,
3+
"scripts": {
4+
"clean": "rimraf output && rimraf .pulp-cache",
5+
"build": "pulp build --censor-lib --strict"
6+
},
37
"devDependencies": {
4-
"purescript": "^0.8.2"
8+
"pulp": "^9.0.1",
9+
"purescript": "^0.9.1",
10+
"purescript-psa": "^0.3.9",
11+
"rimraf": "^2.5.0"
512
}
613
}

src/Data/Eq1.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ module Data.Eq1 where
33
import Prelude
44

55
class Eq1 f where
6-
eq1 :: forall a. (Eq a) => f a -> f a -> Boolean
6+
eq1 :: forall a. Eq a => f a -> f a -> Boolean

src/Data/Functor/Nu.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Data.Functor.Nu
2-
( Nu()
2+
( Nu
33
, unfold
44
, observe
55
) where

src/Data/Ord1.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ module Data.Ord1 where
33
import Prelude
44

55
class Ord1 f where
6-
compare1 :: forall a. (Ord a) => f a -> f a -> Ordering
6+
compare1 :: forall a. Ord a => f a -> f a -> Ordering

src/Data/TacitString.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Data.TacitString
2-
( TacitString()
2+
( TacitString
33
, hush
44
) where
55

test/Main.purs

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

0 commit comments

Comments
 (0)