Skip to content

Commit 0c31096

Browse files
committed
Update build
1 parent ad1645f commit 0c31096

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
/.*
2+
!/.gitignore
13
/bower_components/
24
/node_modules/
35
/output/
46
/tmp/
5-
/.psci

Gruntfile.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,19 @@ module.exports = function(grunt) {
1212
clean: ["output"],
1313

1414
pscMake: ["<%=libFiles%>"],
15-
dotPsci: ["<%=libFiles%>"]
15+
dotPsci: ["<%=libFiles%>"],
16+
docgen: {
17+
readme: {
18+
src: "src/**/*.purs",
19+
dest: "README.md"
20+
}
21+
}
1622

1723
});
1824

1925
grunt.loadNpmTasks("grunt-contrib-clean");
2026
grunt.loadNpmTasks("grunt-purescript");
2127

22-
grunt.registerTask("make", ["pscMake", "dotPsci"]);
28+
grunt.registerTask("make", ["pscMake", "dotPsci", "docgen"]);
2329
grunt.registerTask("default", ["make"]);
2430
};

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
lift5 :: forall a b c d e f g. (Apply f) => (a -> b -> c -> d -> e -> g) -> f a -> f b -> f c -> f d -> f e -> f g
2020

2121

22-
2322
## Module Control.Bind
2423

2524
### Values
@@ -35,7 +34,6 @@
3534
join :: forall a m. (Bind m) => m (m a) -> m a
3635

3736

38-
3937
## Module Control.Monad
4038

4139
### Values
@@ -46,7 +44,4 @@
4644

4745
unless :: forall m. (Monad m) => Prim.Boolean -> m { } -> m { }
4846

49-
when :: forall m. (Monad m) => Prim.Boolean -> m { } -> m { }
50-
51-
52-
47+
when :: forall m. (Monad m) => Prim.Boolean -> m { } -> m { }

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
2-
"name": "purescript-control",
32
"private": true,
4-
"devDependencies": {
3+
"dependencies": {
54
"grunt": "~0.4.4",
6-
"grunt-purescript": "~0.5.0",
5+
"grunt-purescript": "~0.5.1",
76
"grunt-contrib-clean": "~0.5.0"
87
}
98
}

0 commit comments

Comments
 (0)