Skip to content

Commit 2343615

Browse files
committed
add initial versions of bower & gruntfile
1 parent 91652be commit 2343615

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed

bower.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "purescript-parsing",
3+
"version": "0.0.1",
4+
"ignore": [
5+
".jshintrc",
6+
"**/*.txt",
7+
"tmp/**"
8+
],
9+
"dependencies": {
10+
"purescript-transformers": "src",
11+
"purescript-prelude": "src",
12+
},
13+
"devDependencies": {
14+
"purescript-quickcheck": "src"
15+
}
16+
}

gruntfile.js

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
"use strict";
2+
3+
module.exports = function(grunt) {
4+
grunt.initConfig({
5+
jshint: {
6+
all: [
7+
"gruntfile.js",
8+
"tasks/*.js",
9+
"<%= nodeunit.tests %>"
10+
],
11+
options: {
12+
jshintrc: ".jshintrc",
13+
},
14+
},
15+
16+
clean: {
17+
tests: ["tmp"],
18+
},
19+
20+
purescript: {
21+
options: {
22+
23+
},
24+
compile: {
25+
files: {
26+
"tmp/out.js": ["src/**/*.hs", "examples/**/*.hs"]
27+
}
28+
}
29+
},
30+
31+
nodeunit: {
32+
tests: ["test/*_test.js"],
33+
},
34+
});
35+
36+
grunt.loadTasks("tasks");
37+
grunt.loadNpmTasks("grunt-contrib-jshint");
38+
grunt.loadNpmTasks("grunt-contrib-clean");
39+
grunt.loadNpmTasks("grunt-contrib-nodeunit");
40+
grunt.loadNpmTasks("grunt-purescript");
41+
42+
grunt.registerTask("test", ["clean", "purescript", "nodeunit"]);
43+
grunt.registerTask("default", ["jshint", "test"]);
44+
};

0 commit comments

Comments
 (0)