Skip to content

Instantly share code, notes, and snippets.

@anthonyshort
Created December 2, 2013 18:59
Show Gist options
  • Save anthonyshort/7754939 to your computer and use it in GitHub Desktop.
Save anthonyshort/7754939 to your computer and use it in GitHub Desktop.
module.exports = function(grunt) {
grunt.initConfig({
foo: {}
});
require('./plugin')(grunt);
// It would be even easier if grunt had a 'use' method
// grunt.use(plugin).use(another);
};
module.exports = function(grunt) {
// Add them to the config object.
grunt.config('bar', {});
grunt.config('baz', {});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment