Skip to content

Instantly share code, notes, and snippets.

@vladikoff
Created December 13, 2013 00:01
Show Gist options
  • Save vladikoff/7937842 to your computer and use it in GitHub Desktop.
Save vladikoff/7937842 to your computer and use it in GitHub Desktop.
module.exports = function (grunt) {
grunt.initConfig({
log: {
foo: [1, 2, 3],
bar: 'hello world',
baz: false
}
});
grunt.task.registerMultiTask('log', 'Log stuff.', function() {
grunt.log.writeln(this.target + ': ' + this.data);
});
grunt.registerTask('waffles', ['log']);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment