I'm glad it worked.  Because the zip command-line options are hard to
understand and I often want the minimal files bundles is why `lit make`
supports filters when it builds the zip.  See examples in the luvit and lit
projects themselves:

https://github.com/luvit/lit/blob/master/package.lua#L25-L29

https://github.com/luvit/luvit/blob/master/package.lua#L33-L39

On Wed, Apr 8, 2015 at 5:34 PM, Jörg Krause <[email protected]>
wrote:

> I found the solution. The problem is my usage of the zip include "-i"
> option which removes the directory entries. A working solution is:
>
> zip -r luvit-2.0.5.zip luvit-2.0.5 -i "luvit-2.0.5/" "*/deps/*" "*.lua" -x
> "luvit-2.0.5/tests/*" "luvit-2.0.5/examples/*" "luvit-2.0.5/bench/*"
>
> This gets me a lua-sources-only zip archive and saves me about 60 KB
> compared to the original zip.
>
> --
> You received this message because you are subscribed to the Google Groups
> "luvit" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"luvit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to