/grunt-assemble-decompress

Assemble plugin for extracting zip, tar and tar.gz archives.

Primary LanguageJavaScriptMIT LicenseMIT

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.