Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
garyb committed Jul 29, 2015
1 parent 423920f commit 8582dec
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ bower install purescript-dom
## Module documentation

- [DOM](docs/DOM.md)
- [DOM.File](docs/DOM.File.md)
- [DOM.XHR](docs/DOM.XHR.md)
- [DOM.File](docs/DOM/File.md)
- [DOM.XHR](docs/DOM/XHR.md)
File renamed without changes.
File renamed without changes.
17 changes: 8 additions & 9 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,23 @@ gulp.task("clean-output", function (cb) {
gulp.task("clean", ["clean-docs", "clean-output"]);

gulp.task("make", function() {
return gulp.src(sources)
.pipe(purescript.pscMake({ ffi: foreigns }));
return purescript.psc({ src: sources, ffi: foreigns });
});

gulp.task("docs", ["clean-docs"], function () {
return gulp.src(sources)
.pipe(purescript.pscDocs({
return purescript.pscDocs({
src: sources,
docgen: {
"DOM": "docs/DOM.md",
"DOM.File": "docs/DOM.File.md",
"DOM.XHR": "docs/DOM.XHR.md"
"DOM.File": "docs/DOM/File.md",
"DOM.XHR": "docs/DOM/XHR.md"
}
}));
});
});

gulp.task("dotpsci", function () {
return gulp.src(sources)
.pipe(purescript.dotPsci());
return purescript.psci({ src: sources, ffi: foreigns })
.pipe(gulp.dest("."));
});

gulp.task("default", ["make", "docs", "dotpsci"]);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"devDependencies": {
"gulp": "^3.8.11",
"gulp-purescript": "^0.5.0-rc.1",
"gulp-purescript": "^0.5.0",
"rimraf": "^2.3.3"
}
}

0 comments on commit 8582dec

Please sign in to comment.