Skip to content

Commit f207b2f

Browse files
committed
Updates for RC
1 parent f51ba34 commit f207b2f

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
"package.json"
2222
],
2323
"dependencies": {
24-
"purescript-monoid": "~0.3.0"
24+
"purescript-monoid": "^0.3.0"
2525
}
2626
}

gulpfile.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
var gulp = require("gulp");
55
var plumber = require("gulp-plumber");
66
var purescript = require("gulp-purescript");
7+
var rimraf = require("rimraf");
78

89
var sources = [
910
"src/**/*.purs",
@@ -14,13 +15,23 @@ var foreigns = [
1415
"bower_components/purescript-*/src/**/*.js"
1516
];
1617

18+
gulp.task("clean-docs", function (cb) {
19+
rimraf("docs", cb);
20+
});
21+
22+
gulp.task("clean-output", function (cb) {
23+
rimraf("output", cb);
24+
});
25+
26+
gulp.task("clean", ["clean-docs", "clean-output"]);
27+
1728
gulp.task("make", function() {
1829
return gulp.src(sources)
1930
.pipe(plumber())
2031
.pipe(purescript.pscMake({ ffi: foreigns }));
2132
});
2233

23-
gulp.task("docs", function () {
34+
gulp.task("docs", ["clean-docs"], function () {
2435
return gulp.src(sources)
2536
.pipe(plumber())
2637
.pipe(purescript.pscDocs({

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
"devDependencies": {
44
"gulp": "^3.8.11",
55
"gulp-plumber": "^1.0.0",
6-
"gulp-purescript": "^0.5.0"
6+
"gulp-purescript": "^0.5.0-rc.1",
7+
"rimraf": "^2.3.4"
78
}
89
}

0 commit comments

Comments
 (0)