PBProjects/mkpbprojects.csh
author Ryan C. Gordon <icculus@icculus.org>
Mon, 14 Mar 2005 11:49:30 +0000
changeset 691 71d9affe0d8a
parent 518 678bd642c6b5
permissions -rwxr-xr-x
All memory management now goes through allocation hooks instead of directly to C runtime malloc/realloc/free...
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
518
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     1
#!/bin/csh
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     2
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     3
###
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     4
## This script creates "PBProjects.tar.gz" in the parent directory
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     5
###
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     6
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     7
# remove build products
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     8
rm -rf build
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
     9
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    10
# remove Finder info files
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    11
find . -name ".DS_Store" -exec rm "{}" ";"
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    12
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    13
# remove user project prefs
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    14
find . -name "*.pbxuser" -exec rm "{}" ";"
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    15
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    16
# create the archive
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    17
(cd .. && gnutar -zcvf PBProjects.tar.gz PBProjects)
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    18
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    19
678bd642c6b5 Added Apple Project Builder support files to CVS.
Ryan C. Gordon <icculus@icculus.org>
parents:
diff changeset
    20