aweary / fly

:honeybee: New Generation Build System

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New Generation Build System

npm package

About | Usage | Documentation | Plugins | Contributing


About

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.

Usage

Install

npm install fly

Flyfile

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

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

export default function* () {
  this.watch([paths.scripts], ["scripts"])
}

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

Contributing

Contributions are absolutely welcome. Check out our contribution guide.

License

MIT © Jorge Bucaran et al ❤️

About

:honeybee: New Generation Build System

https://git.io/fly

License:MIT License


Languages

Language:JavaScript 95.9%Language:CoffeeScript 2.0%Language:Shell 0.8%Language:HTML 0.7%Language:CSS 0.5%Language:Groff 0.1%