phonegap / node-phonegap-build

PhoneGap Build node module to login, create, and build apps.
Apache License 2.0
25 stars 25 forks source link

Improve error message from zip operation #38

Closed mwbrooks closed 11 years ago

mwbrooks commented 11 years ago

Reported under mwbrooks/phonegap-cli#80

mwbrooks commented 11 years ago

The error message is now retrieved from the console output.

A missing zip binary would produce an error such as:

error  failed to create the zip file: /bin/sh: zip: command not found
mwbrooks commented 11 years ago

Available on npm as phonegap-build@0.8.1

mwbrooks commented 11 years ago

On Windows, some error messages appear as alert boxes instead of console output. So, we should provide a default error message when there is no output.