cowboy/grunt — Issue #51: Add zip task
Author: jzaefferer
Created: 2012-02-29 11:44:18+00:00
State: open

A task that let's you specify files or folders to zip for a release. Would be combined with concat and min.

To make this work cross-platform, we'd need a node zip implementation that doesn't depend on native bindings.

adm-zip has some potential, but doesn't yet implement its addLocalFolder method: https://github.com/cthackers/adm-zip

node-native-zip doesn't implement compression, or rather, let's the user take care of it, which seems like a rather bad idea: https://github.com/janjongboom/node-native-zip

node-zipstream might work, lacks any higher level APIs: https://github.com/wellawaretech/node-zipstream