Xcode/mkxcode.csh
changeset 3303 9e9a2476f704
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Xcode/mkxcode.csh	Thu Sep 24 07:13:02 2009 +0000
     1.3 @@ -0,0 +1,20 @@
     1.4 +#!/bin/csh
     1.5 +
     1.6 +###
     1.7 +## This script creates "Xcode.tar.gz" in the parent directory
     1.8 +###
     1.9 +
    1.10 +# remove build products
    1.11 +rm -rf SDL/build
    1.12 +rm -rf SDLTest/build
    1.13 +
    1.14 +# remove Finder info files
    1.15 +find . -name ".DS_Store" -exec rm "{}" ";"
    1.16 +
    1.17 +# remove user project prefs
    1.18 +find . -name "*.pbxuser*" -exec rm "{}" ";"
    1.19 +find . -name "*.mode*" -exec rm "{}" ";"
    1.20 +find . -name "*.perspective*" -exec rm "{}" ";"
    1.21 +
    1.22 +# create the archive
    1.23 +(cd .. && gnutar -zcvf Xcode.tar.gz Xcode)