It is build on top of the wonderful grunt.
Since Voodoo was primary build for our own projects, the default voodoo.js config file (this is actually just the grunt
config.js file) will execute a series of tasks tailor made for our framework. This following needles are stung:
task.registerTask("default", "clean lint:files concat min");
assets/js/libs.jsif they existed from a previous run
assets/js/(NOT inside the subsequent
libsfolder) against jshint. Options are set in the
assets/js/app.js(which is why we needed the clean needle), and all
Installation is through npm, and straightforward:
npm install -g voodoo
voodoo -h afterwards to get more help.
Inside your website directory, just execute
voodoo without params to perform the basic tasks, as predefined for our framework (see
config.js inside the repo). The default voodoo.js will be created at the path where you execute the command, and is very similar to the gruntfile found in grunt.
Optionally, you can run
voodoo -g or
voodoo --generate to create the default
voodoo.js file without running voodoo itself. This gives you the change to first change the config.
assetsfolder is in )