Commit a31c1776 authored by Vadim Makeev's avatar Vadim Makeev

New archive task for Grunt

parent 8bf85bda
......@@ -82,6 +82,19 @@ module.exports = function(grunt) {
},
src: ['**']
},
compress: {
shower: {
options: {
archive: 'archive.zip'
},
files: [{
expand: true,
cwd: 'temp/pres/',
src: '**',
dest: '.'
}]
}
},
clean: ['temp']
});
......@@ -92,4 +105,11 @@ module.exports = function(grunt) {
'clean'
]);
};
\ No newline at end of file
grunt.registerTask('archive', [
'copy',
'replace',
'compress',
'clean'
]);
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment