piano/grunt/zip.js

12 lines
285 B
JavaScript

/*jshint node:true */
'use strict';
module.exports = function (grunt) {
grunt.loadNpmTasks('grunt-zip');
grunt.config('unzip.extract-asset', {
src: 'build/<%= grunt.task.current.args[0] %>.zip',
dest: 'build/<%= grunt.task.current.args[0] %>/'
});
};