Skip to content

Commit d2dac84

Browse files
committed
Update build
1 parent a216f5d commit d2dac84

File tree

9 files changed

+22
-64
lines changed

9 files changed

+22
-64
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
language: node_js
2+
sudo: false
23
node_js:
34
- 0.10
45
env:
@@ -8,7 +9,6 @@ install:
89
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
910
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
1011
- chmod a+x $HOME/purescript
11-
- npm install bower gulp -g
12-
- npm install && bower install
12+
- npm install
1313
script:
14-
- gulp
14+
- npm run build

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# purescript-profunctor
22

3+
[![Latest release](http://img.shields.io/bower/v/purescript-profunctor.svg)](https://github.com/purescript/purescript-profunctor/releases)
34
[![Build Status](https://travis-ci.org/purescript/purescript-profunctor.svg?branch=master)](https://travis-ci.org/purescript/purescript-profunctor)
5+
[![Dependency Status](https://www.versioneye.com/user/projects/55848c93363861001b00019f/badge.svg?style=flat)](https://www.versioneye.com/user/projects/55848c93363861001b00019f)
46

57
Profunctor typeclass.
68

@@ -12,6 +14,6 @@ bower install purescript-profunctor
1214

1315
## Module documentation
1416

15-
- [Data.Profunctor](docs/Data.Profunctor.md)
16-
- [Data.Profunctor.Choice](docs/Data.Profunctor.Choice.md)
17-
- [Data.Profunctor.Strong](docs/Data.Profunctor.Strong.md)
17+
- [Data.Profunctor](docs/Data/Profunctor.md)
18+
- [Data.Profunctor.Choice](docs/Data/Profunctor/Choice.md)
19+
- [Data.Profunctor.Strong](docs/Data/Profunctor/Strong.md)

bower.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
"output",
2424
"test",
2525
"bower.json",
26-
"gulpfile.js",
2726
"package.json"
2827
],
2928
"dependencies": {
File renamed without changes.

docs/Data.Profunctor.Choice.md renamed to docs/Data/Profunctor/Choice.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ instance choiceFn :: Choice Function
2525
(+++) :: forall p a b c d. (Category p, Choice p) => p a b -> p c d -> p (Either a c) (Either b d)
2626
```
2727

28+
_right-associative / precedence 2_
29+
2830
Compose a value acting on a sum from two values, each acting on one of
2931
the components of the sum.
3032

@@ -34,6 +36,8 @@ the components of the sum.
3436
(|||) :: forall p a b c. (Category p, Choice p) => p a c -> p b c -> p (Either a b) c
3537
```
3638

39+
_right-associative / precedence 2_
40+
3741
Compose a value which eliminates a sum from two values, each eliminating
3842
one side of the sum.
3943

docs/Data.Profunctor.Strong.md renamed to docs/Data/Profunctor/Strong.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ instance strongFn :: Strong Function
2525
(***) :: forall p a b c d. (Category p, Strong p) => p a b -> p c d -> p (Tuple a c) (Tuple b d)
2626
```
2727

28+
_right-associative / precedence 3_
29+
2830
Compose a value acting on a `Tuple` from two values, each acting on one of
2931
the components of the `Tuple`.
3032

@@ -34,6 +36,8 @@ the components of the `Tuple`.
3436
(&&&) :: forall p a b c. (Category p, Strong p) => p a b -> p a c -> p a (Tuple b c)
3537
```
3638

39+
_right-associative / precedence 3_
40+
3741
Compose a value which introduces a `Tuple` from two values, each introducing
3842
one side of the `Tuple`.
3943

gulpfile.js

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

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
22
"private": true,
3+
"scripts": {
4+
"postinstall": "pulp dep install",
5+
"build": "pulp build && rimraf docs && pulp docs"
6+
},
37
"devDependencies": {
4-
"gulp": "^3.8.11",
5-
"gulp-plumber": "^1.0.0",
6-
"gulp-purescript": "^0.5.0-rc.1",
7-
"rimraf": "^2.3.3"
8+
"pulp": "^4.0.2",
9+
"rimraf": "^2.4.1"
810
}
911
}

0 commit comments

Comments
 (0)