Skip to content

Commit 959d635

Browse files
committed
Add grunt build
1 parent 1561701 commit 959d635

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-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.hs"
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: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@
1313
"examples",
1414
"externs",
1515
"js"
16-
]
16+
],
17+
"dependencies": {
18+
"purescript-tuples": "*"
19+
}
1720
}

package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"name": "purescript-node-readline",
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)