0.0.2 • Published 10 years ago
gobble-zip v0.0.2
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-zipUsage
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.