Skip to content

IvanSanchez/gobble-zip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gobble-zip

Gobble plugin to zip files/directories into a .zip file.

Installation

I assume you already know the basics of Gobble.

npm i -D gobble-zip

Usage

In your gobblefile, run the zip gobble transform with a dest option, like so:

var gobble = require( 'gobble' );
module.exports = gobble( 'assets' ).transform( 'zip', {
  dest: 'assets.zip'
});

Aditionally, gobble-zip accepts the files and sort options, with the same semantics as gobble-concat.

License

"THE BEER-WARE LICENSE":
<ivan@sanchezortega.es> wrote this file. As long as you retain this notice you
can do whatever you want with this stuff. If we meet some day, and you think
this stuff is worth it, you can buy me a beer in return.

About

Zip files in your GobbleJS workflow

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages