Created
April 26, 2013 02:04
-
-
Save mgonto/5464661 to your computer and use it in GitHub Desktop.
Gruntfile
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
| '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