Xcode/mkxcode.csh
author Holmes Futrell <hfutrell@umail.ucsb.edu>
Fri, 18 Jul 2008 20:46:02 +0000
branchgsoc2008_iphone
changeset 2378 d76ecec0c3f7
parent 2207 d63e9f5944ae
permissions -rwxr-xr-x
iPhone SDL 1.3 demos go here. All these demos are written using pure SDL 1.3 code. No compatibility calls! Perhaps if they are any good they could be use as tests for the SDL 1.3 release.
slouken@2207
     1
#!/bin/csh
slouken@2207
     2
slouken@2207
     3
###
slouken@2207
     4
## This script creates "Xcode.tar.gz" in the parent directory
slouken@2207
     5
###
slouken@2207
     6
slouken@2207
     7
# remove build products
slouken@2207
     8
rm -rf SDL/build
slouken@2207
     9
rm -rf SDLTest/build
slouken@2207
    10
slouken@2207
    11
# remove Finder info files
slouken@2207
    12
find . -name ".DS_Store" -exec rm "{}" ";"
slouken@2207
    13
slouken@2207
    14
# remove user project prefs
slouken@2207
    15
find . -name "*.pbxuser" -exec rm "{}" ";"
slouken@2207
    16
find . -name "*.mode1" -exec rm "{}" ";"
slouken@2207
    17
find . -name "*.perspective" -exec rm "{}" ";"
slouken@2207
    18
slouken@2207
    19
# create the archive
slouken@2207
    20
(cd .. && gnutar -zcvf Xcode.tar.gz Xcode)