New Generation Build System
About | Usage | Documentation | Plugins | Contributing
Fly is a modern build system for Node based in co-routines, generators and promises.
Fly has callback heaven, concurrent tasks, robust error handling, cascading tasks and a simple API.
See the documentation to learn more about Fly.
npm install fly
Flyfiles are written in ES5, with immediate plans for continuing "native" ES6 and ES7 support via an extension, for those who want it. :)
var x = module.exports
var paths = {
scripts: ['src/**/*.js', '!src/ignore/**/*.js']
}
x.default = function * () {
yield this.watch(paths.scripts, 'build')
}
x.build = function * () {
yield this
.source(paths.scripts)
.eslint({
rules: {
'no-extra-semi': 0
}
})
yield this
.source(paths.scripts)
.babel({
presets: ['es2015', 'stage-0']
})
.concat('app.js')
.target('dist')
}
Contributions are absolutely welcome. Check out our contribution guide.