dbankier/TiShadow — pull request #91 by timanrebel (2013-07-14 10:56:00+00:00)
Title: Fix for: Can't test due to corrupt ZIP-files

Issue: https://groups.google.com/forum/#!topic/tishadow/IU4OY8y_UMs

After doing some extensive research, it seems to be an issue with Archiver. The actual zip file is corrupt. Testing it with unzip -t returns one or more errors. It does not seem to be a widespread error, because Archiver also can't reproduce it (https://github.com/ctalkington/node-archiver/issues/34)

I do however have a fix. I've rewritten bundle.js to work asynchronously through the files (as opposed to recursive) and added the fastest compression. This seems to have fixed the issue, without having to wait for Archiver to fix the issue.

I currently don't create empty directories anymore, because the app directory isn't readable after all. If this is an issue, I'll gladly put support into this commit.