saito

1.0.0 • Public • Published

Saito
Build status

Make-style declarative task dependencies

Install

npm install saito

Use

var task = require('saito')(function () {
    return {
        '%.upper': this.dep('%.lower', (str) => str.toUpperCase()),
        'hello.lower': () => 'hello'
    }
}))
 
task('hello.upper').apply(x => {
    console.log(x); //⇒ HELLO
});

% wildcard dependencies are filled in with concrete values using file stems.

Licence

MIT. © 2015 Matt Brennan

Readme

Keywords

Package Sidebar

Install

npm i saito

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • quarterto