Yet another build/task runner. This one is based on YAML. I like the declarative nature of grunt, but it seems a bit heavyweight to install, and the way things work is more complicated than I need. This is simpler and needs less boilerplate.
npm install -g bild (may require sudo).
bild plus whatever plugins (for example
bild-uglify) in the package.json under
npm install (may require sudo).
Create a file called bild.yaml in the project directory formatted as a list like this:
- coffee:files: src/*.coffeeout: lib- uglify:files: public/js/*.jsout: public/js/min.js
Run the command
bild to compile some files to coffeescript and minify some other files.
Plugins are npm modules named
bild-whatever where "whatever" is the word you use in the YAML file. So when
bild sees 'coffee' as an item
in the list in the YAML, it will require
Each plugin exports a 'process' function. See, for example, the
You can give a specific plugin to run on the command line. So with the above YAML, running
bild coffee will only execute the coffee task.