Skip to content

Commit 2be68f5

Browse files
committed
Update dependencies
1 parent 1207f15 commit 2be68f5

File tree

4 files changed

+41
-40
lines changed

4 files changed

+41
-40
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
js/
1+
/js/
2+
/externs/
3+
/node_modules/
4+
/bower_components/

Gruntfile.js

Lines changed: 24 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,29 @@
11
module.exports = function(grunt) {
2-
"use strict";
3-
4-
grunt.initConfig({
5-
jshint: {
6-
all: [
7-
"Gruntfile.js",
8-
"tasks/*.js",
9-
"<%= nodeunit.tests %>"
10-
]
11-
},
12-
13-
clean: {
14-
tests: ["tmp"],
15-
},
162

17-
purescript: {
18-
options: {
19-
20-
},
21-
compile: {
22-
files: {
23-
"tmp/out.js": ["src/**/*.hs", "examples/**/*.hs"]
24-
}
25-
}
26-
},
3+
"use strict";
4+
5+
grunt.initConfig({
6+
7+
clean: ["externs", "js"],
278

28-
nodeunit: {
29-
tests: ["test/*_test.js"],
30-
},
31-
});
9+
"purescript-make": {
10+
options: {
11+
tco: true,
12+
magicDo: true
13+
},
14+
lib: {
15+
src:
16+
[ "src/**/*.purs.hs"
17+
, "examples/**/*.purs.hs"
18+
, "bower_components/purescript-*/src/**/*.purs"
19+
]
20+
}
21+
}
22+
23+
});
3224

33-
grunt.loadTasks("tasks");
34-
grunt.loadNpmTasks("grunt-contrib-jshint");
35-
grunt.loadNpmTasks("grunt-contrib-clean");
36-
grunt.loadNpmTasks("grunt-contrib-nodeunit");
37-
grunt.loadNpmTasks("grunt-purescript");
25+
grunt.loadNpmTasks("grunt-purescript");
26+
grunt.loadNpmTasks("grunt-contrib-clean");
3827

39-
grunt.registerTask("test", ["clean", "purescript", "nodeunit"]);
40-
grunt.registerTask("default", ["jshint", "test"]);
41-
};
28+
grunt.registerTask("default", ["purescript-make:lib"]);
29+
};

bower.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,12 @@
77
"tmp/**"
88
],
99
"dependencies": {
10-
"purescript-transformers": "https://github.com/purescript/purescript-transformers.git"
10+
"purescript-transformers": "https://github.com/purescript/purescript-transformers.git",
11+
"purescript-either": "*",
12+
"purescript-maybe": "*",
13+
"purescript-arrays": "*",
14+
"purescript-strings": "*",
15+
"purescript-foldable-traversable": "*"
1116
},
1217
"devDependencies": {
1318
"purescript-quickcheck": "https://github.com/purescript/purescript-quickcheck.git"

package.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
{
22
"name": "purescript-parsing",
3-
"version": "0.0.1"
4-
}
3+
"version": "0.0.1",
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)