#489 closed task (fixed)
Clean up unix-build tarball
Reported by: | Philip Taylor | Owned by: | |
---|---|---|---|
Priority: | Nice to Have | Milestone: | |
Component: | Core engine | Keywords: | |
Cc: | fabio.ped@… | Patch: |
Description
http://www.wildfiregames.com/forum/index.php?showtopic=12996&hl=
I noticed that the 0ad-unix-build.tar contains some .bat/.dll/.exe/.lib/.vcproj files and win-specific directories that could be removed reducing tar size from 37 to 25 MB, adding to the source/tools/dist/build.sh script some --exclude options:
tar cf $PREFIX-unix-build-temp.tar --exclude='*.bat' --exclude='*.dll' --exclude='*.exe' --exclude='*.lib' --exclude='*.vcproj' --exlude='win' --exclude='win32' --exclude='include-win32' ${PREFIX}/{source,build,libraries/{cxxtest,fcollada,spidermonkey-tip,valgrind},binaries/system/readme.txt,*.txt}
I don't know if this is exactly the correct list to exclude; should double-check exactly which files are getting included and remove the unused ones from SVN or from the tar.
Change History (5)
comment:1 by , 14 years ago
Cc: | added |
---|
comment:2 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 by , 14 years ago
You may also want to add:
--exclude='source/lib/sysdep/os/win' --exclude='*.vcproj'
comment:4 by , 14 years ago
I think I don't want to do that - it wouldn't save significant amounts of space, and I prefer to include all of the game's original source code, and deleting .vcproj files would be fairly arbitrary since there's lots of other individual files that are only used on Windows, and deleting all those other individual files would take effort and risk breaking things (particularly if we rearrange the code in the future) and doesn't seem worthwhile.
(In [7509]) Update unix-build tarball: exclude some unneeded files; include files needed for tests. Fixes #489, #490.