Xcode/mkxcode.csh
author Sam Lantinga <slouken@libsdl.org>
Sun, 13 Dec 2009 06:19:32 +0000
changeset 3553 a579694613fd
parent 3303 9e9a2476f704
permissions -rwxr-xr-x
Note that the WritePixels call is unsupported right now.
slouken@3303
     1
#!/bin/csh
slouken@3303
     2
slouken@3303
     3
###
slouken@3303
     4
## This script creates "Xcode.tar.gz" in the parent directory
slouken@3303
     5
###
slouken@3303
     6
slouken@3303
     7
# remove build products
slouken@3303
     8
rm -rf SDL/build
slouken@3303
     9
rm -rf SDLTest/build
slouken@3303
    10
slouken@3303
    11
# remove Finder info files
slouken@3303
    12
find . -name ".DS_Store" -exec rm "{}" ";"
slouken@3303
    13
slouken@3303
    14
# remove user project prefs
slouken@3303
    15
find . -name "*.pbxuser*" -exec rm "{}" ";"
slouken@3303
    16
find . -name "*.mode*" -exec rm "{}" ";"
slouken@3303
    17
find . -name "*.perspective*" -exec rm "{}" ";"
slouken@3303
    18
slouken@3303
    19
# create the archive
slouken@3303
    20
(cd .. && gnutar -zcvf Xcode.tar.gz Xcode)