$ npm install grunt-assemble-decompressAssemble plugin for extracting zip, tar and tar.gz archives.
$ npm i grunt-assemble-decompress --save
Next, add the plugin to the Assemble options:
assemble: {
options: {
plugins: ['grunt-assemble-decompress', 'other/plugins/*.js']
}
}
Visit the plugins docs for more info about plugins or for help getting started.
Type: String
Default: undefined
Path the file or files to decompress.
Type: String
Default: undefined
Destination for the decompressed files.
assemble: {
options: {
plugins: ['assemble-contrib-download', 'grunt-assemble-decompress'],
download: {
repo: 'assemble/handlebars-helpers',
files: ['docs/helpers.zip'],
dest: 'tmp/'
}
decompress: {
files: ['tmp/helpers.zip'],
dest: 'docs/helpers/'
}
}
}
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Jon Schlinkert
Copyright © 2015 Jon Schlinkert Released under the MIT license.
This file was generated by verb-cli on September 24, 2015.