Skip to content
This repository was archived by the owner on Jun 5, 2022. It is now read-only.

Commit 574d8ea

Browse files
committed
Update build
1 parent 0d0022c commit 574d8ea

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 & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,4 @@
5757

5858
sqrt2 :: Prim.Number
5959

60-
tan :: Radians -> Prim.Number
61-
62-
63-
60+
tan :: Radians -> Prim.Number

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
{
2-
"name": "purescript-math",
32
"private": true,
43
"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)