Created
December 2, 2013 18:59
-
-
Save anthonyshort/7754939 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); | |
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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