About | Usage | Documentation | Plugins | Contributing
New Generation Build System
Fly is a build system for Node based in ES6 generators and promises that aims to be simple and elegant to write and extend.
See the Documentation page to learn more.
npm install fly
const paths = {
scripts: ["client/js/**/*.coffee", "!client/external/**/*.coffee"]
}
exports.default = function* () {
yield this.tasks.clear()
yield this.tasks.scripts()
yield this.watch(paths.scripts)
}
exports.clear = function* () {
yield this.clear("build")
}
exports.scripts = function* () {
yield this
.source(paths.scripts)
.coffee()
.uglify()
.concat("all.min.js")
.target("build/js")
}
Contributions are absolutely welcome. Check out our contribution guide.
- Watching files should be more transparent.
- Proper tests.
- Configuration options (disable plugin auto-loading, etc.)
MIT © Jorge Bucaran et al