evshiron / nwjs-builder

https://www.npmjs.com/package/nwjs-builder
76 stars 12 forks source link

[Feature Request] Zipping Platform Build Option #29

Closed nicklaw5 closed 8 years ago

nicklaw5 commented 8 years ago

Would be great if the build process included an option for outputting a zipped version of the build, as opposed to a large build folder.

I have implemented this in my build.js script, but seems like it should be something included in this package as an option.

Somthing like this:

$ nwb nwbuild -h

  Usage: nwbuild [options] [PATH_OR_ARGS...]

  Options:
    -z,--zip                                  Outputs a zipped version of each platform build
evshiron commented 8 years ago

@nicklaw5 Greetings. I have added an --output-format option in nwjs-builder 1.11.0. --output-format ZIP should produce .zip instead of a directory.

nicklaw5 commented 8 years ago

Thanks. Works great!