Skip to content

Instantly share code, notes, and snippets.

@mgonto
Created April 26, 2013 02:04
Show Gist options
  • Select an option

  • Save mgonto/5464661 to your computer and use it in GitHub Desktop.

Select an option

Save mgonto/5464661 to your computer and use it in GitHub Desktop.
Gruntfile
'use strict';
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
dirs: {
dest: 'dist'
},
bower: {
dev: {
dest: '<%= dirs.dest %>/dependencies'
}
},
bowerInstall: {
install: {
}
},
});
grunt.loadNpmTasks('grunt-bower-task');
grunt.renameTask("bower", "bowerInstall");
grunt.loadNpmTasks('grunt-bower');
// Default task.
grunt.registerTask('default', ['build']);
// Build task.
grunt.registerTask('build', ['bowerInstall', 'bower']);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment