Skip to content

apaleslimghost/Saito

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Saito
Build status npm

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

About

Declarative task dependencies

Resources

Stars

Watchers

Forks

Packages

No packages published