You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
626 B
28 lines
626 B
10 years ago
|
/**
|
||
|
* A grunt task to keep directories in sync. It is very similar to grunt-contrib-copy
|
||
|
* but tries to copy only those files that has actually changed.
|
||
|
*
|
||
|
* ---------------------------------------------------------------
|
||
|
*
|
||
|
* Synchronize files from the `assets` folder to `.tmp/public`,
|
||
|
* smashing anything that's already there.
|
||
|
*
|
||
|
* For usage docs see:
|
||
|
* https://github.com/tomusdrw/grunt-sync
|
||
|
*
|
||
|
*/
|
||
|
module.exports = function(grunt) {
|
||
|
|
||
|
grunt.config.set('sync', {
|
||
|
dev: {
|
||
|
files: [{
|
||
|
cwd: './assets',
|
||
|
src: ['**/*.!(coffee)'],
|
||
|
dest: '.tmp/public'
|
||
|
}]
|
||
|
}
|
||
|
});
|
||
|
|
||
|
grunt.loadNpmTasks('grunt-sync');
|
||
|
};
|