1#!/bin/csh
2
3###
4## This script creates "Xcode.tar.gz" in the parent directory
5###
6
7# remove build products
8rm -rf SDL/build
9rm -rf SDLTest/build
10
11# remove Finder info files
12find . -name ".DS_Store" -exec rm "{}" ";"
13
14# remove user project prefs
15find . -name "*.pbxuser*" -exec rm "{}" ";"
16find . -name "*.mode*" -exec rm "{}" ";"
17find . -name "*.perspective*" -exec rm "{}" ";"
18
19# create the archive
20(cd .. && gnutar -zcvf Xcode.tar.gz Xcode)
21