[Locomotive-users] Reduce the size of the Universal binaries

Seggy Umboh seggy at coupa.com
Fri Dec 8 07:27:25 GMT 2006


Hello everyone,

I am writing to thank Ryan for an amazing product that we use to create a
Mac distribution of our open source procurement software (
http://www.coupa.com/), and also to suggest an optimization for the
Locomotive distribution itself, as well as for others who want to repackage
it.

Since Locomotive starting shipping as a Universal binary, it has had to
included two trees of files, many of which are actually platform independent
ruby or C code, so we decided to save on this duplication.

Here's a script that will traverse one tree, and for each file in this tree,
look for an identical file in another tree, delete the file in the original
tree, and create a symlink in its place to point to the duplicate file in
the other tree:

http://seggyscripts.googlecode.com/svn/trunk/link_duplicates.rb

Thanks again, and enjoy!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://one.textdrive.com/pipermail/locomotive-users/attachments/20061208/56ac4c6c/attachment.htm


More information about the Locomotive-users mailing list