Assemble plugin for extracting zip, tar and tar.gz archives.
JavaScript
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
docs
test
.editorconfig
.gitattributes
.gitignore
.jshintrc
.travis.yml
.verb.md
Gruntfile.js
LICENSE
README.md
index.js
package.json

README.md

grunt-assemble-decompress NPM version

Assemble 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.

Options

files

Type: String Default: undefined

Path the file or files to decompress.

dest

Type: String Default: undefined

Destination for the decompressed files.

Examples

assemble: {
  options: {
    plugins: ['grunt-assemble-download', 'grunt-assemble-decompress'],
    download: {
      repo: 'assemble/handlebars-helpers',
      files: ['docs/helpers.zip'],
      dest: 'tmp/'
    }
    decompress: {
      files: ['tmp/helpers.zip'],
      dest: 'docs/helpers/'
    }
  }
}

Other grunt-assemble plugins

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on September 25, 2015.