Skip to content

Instantly share code, notes, and snippets.

Created July 27, 2015 13:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/e18fd95f3cc2ba8505a7 to your computer and use it in GitHub Desktop.
Save anonymous/e18fd95f3cc2ba8505a7 to your computer and use it in GitHub Desktop.
Sharing Configuration with Grunt
module.exports = function(grunt) {
// required plugin
require('jit-grunt')(grunt);
grunt.initConfig({
less: {
// config here
}
},
concat: {
// config here
},
jshint: {
// config here
},
watch: {
// config here
}
});
};
module.exports = function(grunt) {
require('./config.js')(grunt);
grunt.registerTask('default', ['concat', 'less', 'jshint', 'watch']);
};
module.exports = function(grunt) {
require('./config.js')(grunt);
grunt.registerTask('default', ['concat', 'less', 'jshint']);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment