Skip to content

Commit 355e5a5

Browse files
committed
Update build
1 parent ef45cc3 commit 355e5a5

File tree

4 files changed

+12
-9
lines changed

4 files changed

+12
-9
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 & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,10 @@
8080
zipWith :: forall a b c. (a -> b -> c) -> [a] -> [b] -> [c]
8181

8282

83-
8483
## Module Data.Array.Unsafe
8584

8685
### Values
8786

8887
head :: forall a. [a] -> a
8988

90-
tail :: forall a. [a] -> [a]
91-
92-
93-
89+
tail :: forall a. [a] -> [a]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"dependencies": {
55
"grunt": "~0.4.4",
6-
"grunt-purescript": "~0.5.0",
6+
"grunt-purescript": "~0.5.1",
77
"grunt-contrib-clean": "~0.5.0"
88
}
99
}

0 commit comments

Comments
 (0)