Skip to content

Commit e958ccd

Browse files
committed
Merge pull request #8 from purescript/0.8-updates
Updates for PureScript 0.8
2 parents 694efab + 3183e69 commit e958ccd

23 files changed

+122
-406
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@
44
/bower_components/
55
/node_modules/
66
/output/
7-
/tmp/

.travis.yml

+13-3
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

+2-21
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,6 @@ Bifunctors and biapplicatives.
1212
bower install purescript-bifunctors
1313
```
1414

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

17-
- [Data.Bifunctor](docs/Data/Bifunctor.md)
18-
- [Data.Biapply](docs/Data/Biapply.md)
19-
- [Data.Biapplicative](docs/Data/Biapplicative.md)
20-
21-
### Bifunctor variations
22-
23-
- [Data.Bifunctor.Flip](docs/Data/Bifunctor/Flip.md)
24-
- [Data.Bifunctor.Product](docs/Data/Bifunctor/Product.md)
25-
26-
### Functors from a bifunctor
27-
28-
- [Data.Bifunctor.Join](docs/Data/Bifunctor/Join.md)
29-
- [Data.Bifunctor.Wrap](docs/Data/Bifunctor/Wrap.md)
30-
31-
### Clowns and Jokers
32-
33-
From [Clowns to the Left of me, Jokers to the Right: Dissecting Data Structures](http://strictlypositive.org/CJ.pdf) by [Conor McBride](http://strictlypositive.org)
34-
35-
- [Data.Bifunctor.Clown](docs/Data/Bifunctor/Clown.md)
36-
- [Data.Bifunctor.Joker](docs/Data/Bifunctor/Joker.md)
17+
Module documentation is [published on Pursuit](http://pursuit.purescript.org/packages/purescript-bifunctors).

bower.json

+1-11
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,6 @@
22
"name": "purescript-bifunctors",
33
"homepage": "https://github.com/purescript/purescript-bifunctors",
44
"description": "Bifunctors and biapplicatives",
5-
"keywords": [
6-
"purescript",
7-
"bifunctor",
8-
"biapply",
9-
"biapplicative"
10-
],
11-
"authors": [
12-
"Gary Burgess <[email protected]>",
13-
"Dylan Lukes <[email protected]>"
14-
],
155
"license": "MIT",
166
"repository": {
177
"type": "git",
@@ -27,6 +17,6 @@
2717
"package.json"
2818
],
2919
"dependencies": {
30-
"purescript-control": "^0.3.0"
20+
"purescript-control": "^1.0.0-rc.1"
3121
}
3222
}

docs/Control/Biapplicative.md

-13
This file was deleted.

docs/Control/Biapply.md

-74
This file was deleted.

docs/Data/Bifunctor.md

-40
This file was deleted.

docs/Data/Bifunctor/Clown.md

-26
This file was deleted.

docs/Data/Bifunctor/Flip.md

-28
This file was deleted.

docs/Data/Bifunctor/Join.md

-28
This file was deleted.

docs/Data/Bifunctor/Joker.md

-26
This file was deleted.

docs/Data/Bifunctor/Product.md

-19
This file was deleted.

docs/Data/Bifunctor/Wrap.md

-29
This file was deleted.

package.json

+4-4
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)