juanpabloaj / fly

:candy: New Generation Build System

Home Page:https://git.io/fly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New Generation Build System

About | Usage | Documentation | Plugins | Contributing


About

Fly is a build system for Node based in co-routines, generators and promises that aims to be simple and elegant to write.

See the Documentation page to learn more about how to use Fly and write your own plugins.

Usage

Install

npm install fly

Flyfile

Flyfiles can be written in ES5/6/7 or other JavaScript variants.

const paths = {
  scripts: ["src/**/*.js", "!src/ignore/**/*.js"]
}

export function* main () {
  yield this.clear("build")
  this.watch([paths.scripts], ["scripts"])
}

export function* scripts () {
  yield this
    .source(paths.scripts)
    .babel({/*...*/})
    .uglify({/*...*/})
    .concat("all.min.js")
    .target("build/js")
}

Contributing

Contributions are absolutely welcome. Check out our contribution guide.

Roadmap ✈

  • Proper tests.
  • Configuration options.
  • Optimize stream operations using CSP channels.

License

MIT © Jorge Bucaran et al

Bitdeli Badge

About

:candy: New Generation Build System

https://git.io/fly

License:MIT License


Languages

Language:JavaScript 97.1%Language:CoffeeScript 1.6%Language:Shell 0.8%Language:CSS 0.5%