Xcode/mkxcode.csh
author Edgar Simo <bobbens@gmail.com>
Mon, 04 Aug 2008 17:30:17 +0000
branchgsoc2008_force_feedback
changeset 2592 8152dd46fbe2
parent 2207 d63e9f5944ae
permissions -rwxr-xr-x
Changed effect comparison a bit.

#!/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 "*.mode1" -exec rm "{}" ";"
find . -name "*.perspective" -exec rm "{}" ";"

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