Skip to content

Instantly share code, notes, and snippets.

@fernandozamoraj
Created May 24, 2014 07:57
Show Gist options
  • Save fernandozamoraj/2256a55d5088e7005f1a to your computer and use it in GitHub Desktop.
Save fernandozamoraj/2256a55d5088e7005f1a to your computer and use it in GitHub Desktop.
/*
* 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