Xcode/mkxcode.csh
author Ryan C. Gordon <icculus@icculus.org>
Sun, 11 Sep 2011 14:44:37 -0400
branchSDL-1.2
changeset 5895 402eac854030
permissions -rwxr-xr-x
Unpacked Xcode.tar.gz.
icculus@5895
     1
#!/bin/csh
icculus@5895
     2
icculus@5895
     3
###
icculus@5895
     4
## This script creates "Xcode.tar.gz" in the parent directory
icculus@5895
     5
###
icculus@5895
     6
icculus@5895
     7
# remove build products
icculus@5895
     8
rm -rf SDL/build
icculus@5895
     9
rm -rf SDLTest/build
icculus@5895
    10
icculus@5895
    11
# remove Finder info files
icculus@5895
    12
find . -name ".DS_Store" -exec rm "{}" ";"
icculus@5895
    13
icculus@5895
    14
# remove user project prefs
icculus@5895
    15
find . -name "*.pbxuser*" -exec rm "{}" ";"
icculus@5895
    16
find . -name "*.mode*" -exec rm "{}" ";"
icculus@5895
    17
find . -name "*.perspective*" -exec rm "{}" ";"
icculus@5895
    18
icculus@5895
    19
# create the archive
icculus@5895
    20
(cd .. && gnutar -zcvf Xcode.tar.gz Xcode)