Skip to content

e-jigsaw/fly

 
 

Repository files navigation

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.

Roadmap ✈

  • Watching files should be more transparent.
  • Proper tests.
  • Configuration options (disable plugin auto-loading, etc.)

License

MIT © Jorge Bucaran et al

Bitdeli Badge

About

🍬 New Generation Build System

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.9%
  • Other 1.1%