view Xcode/mkxcode.csh @ 4451:033c455bbe99

Refactored automated rwops tests so read and write directories can be more easily customized. The refactored tests were written in recognition that Mac and iPhone current working directories are usually not going to work. Resource directories are in bundles and write directories are restricted to certain areas. In theory, other platforms may have this problem too, hence the refactoring. Also updated the Xcode iPhone project to use 3.2 as the Base SDK, but 3.1 as the Deployment SDK (for iPhone/iPad compatibility.)
author Eric Wing <ewing . public |-at-| gmail . com>
date Sun, 09 May 2010 06:58:30 -0700
parents 9e9a2476f704
children
line wrap: on
line source

#!/bin/csh

###
## This script creates "Xcode.tar.gz" in the parent directory
###

# remove build products
rm -rf SDL/build
rm -rf SDLTest/build

# remove Finder info files
find . -name ".DS_Store" -exec rm "{}" ";"

# remove user project prefs
find . -name "*.pbxuser*" -exec rm "{}" ";"
find . -name "*.mode*" -exec rm "{}" ";"
find . -name "*.perspective*" -exec rm "{}" ";"

# create the archive
(cd .. && gnutar -zcvf Xcode.tar.gz Xcode)