Skip to content

Commit a45e639

Browse files
committed
Add grunt build
1 parent 85627ac commit a45e639

File tree

3 files changed

+40
-1
lines changed

3 files changed

+40
-1
lines changed

Gruntfile.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
module.exports = function(grunt) {
2+
3+
"use strict";
4+
5+
grunt.initConfig({
6+
7+
clean: ["externs", "js"],
8+
9+
"purescript-make": {
10+
options: {
11+
tco: true,
12+
magicDo: true
13+
},
14+
lib: {
15+
src:
16+
[ "src/**/*.purs"
17+
, "bower_components/purescript-*/src/**/*.purs"
18+
]
19+
}
20+
}
21+
22+
});
23+
24+
grunt.loadNpmTasks("grunt-purescript");
25+
grunt.loadNpmTasks("grunt-contrib-clean");
26+
27+
grunt.registerTask("default", ["purescript-make:lib"]);
28+
};

bower.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
"purescript-arrays": "*",
2020
"purescript-either": "*",
2121
"purescript-maybe": "*",
22-
"purescript-tuples": "*"
22+
"purescript-tuples": "*",
23+
"purescript-control": "*",
24+
"purescript-monoid": "*"
2325
}
2426
}

package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"name": "purescript-foldable-traversable",
3+
"version": "0.0.0",
4+
"devDependencies": {
5+
"grunt": "~0.4.4",
6+
"grunt-purescript": "~0.3.1",
7+
"grunt-contrib-clean": "~0.5.0"
8+
}
9+
}

0 commit comments

Comments
 (0)