About
|
Usage
|
Documentation
|
Plugins
|
Contributing
New Generation Build System
About
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.
Usage
Install
npm install fly
Flyfile
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")
}
Contributing
Contributions are absolutely welcome. Check out our contribution guide.
License
MIT © Jorge Bucaran et al