-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGruntFile.js
More file actions
26 lines (22 loc) · 751 Bytes
/
Copy pathGruntFile.js
File metadata and controls
26 lines (22 loc) · 751 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
module.exports = function(grunt) {
require('jit-grunt')(grunt);
grunt.initConfig({
copy: {
main: {
cwd: 'src', // set working folder / root to copy
src: '**/*', // copy all files and subfolders
dest: 'dist', // destination folder
expand: true // required when using cwd
},
files: {
cwd: 'src', // set working folder / root to copy
src: '**/*', // copy all files and subfolders
dest: '../iamlee-freelancer/dist/ageulator', // destination folder
expand: true // required when using cwd
}
}
});
grunt.registerTask('gather', ['copy:main']);
grunt.registerTask('copy', ['copy:main', 'copy:files']);
grunt.loadNpmTasks('grunt-contrib-copy');
};