Skip to content

Commit 9d3cda0

Browse files
committed
Add grunt build
1 parent 34605c6 commit 9d3cda0

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
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+
};

package.json

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