Created
May 24, 2014 07:57
-
-
Save fernandozamoraj/2256a55d5088e7005f1a 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
/* | |
* This Gruntfile.js works with the following versions of the packages | |
* | |
* "grunt": "^0.4.5", | |
* "grunt-backup": "^0.1.1", | |
* "grunt-contrib-copy": "^0.5.0" | |
* | |
* This task copies all files including subdirectories and their files from | |
* C:/temp1/src/ into C:/temp1/dest/ | |
* | |
* */ | |
module.exports = function(grunt){ | |
grunt.initConfig( | |
{ | |
copy: { | |
main:{ | |
files: [{expand: true, | |
cwd: 'C:/temp1/src/', | |
src:['*', '**'], | |
dest: 'C:/temp1/dest/'}] | |
} | |
} | |
} | |
); | |
grunt.loadNpmTasks('grunt-contrib-copy'); | |
grunt.registerTask('default', ['copy']); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment