PBProjects/mkpbprojects.csh
changeset 518 678bd642c6b5
equal deleted inserted replaced
517:5dd80de854c6 518:678bd642c6b5
       
     1 #!/bin/csh
       
     2 
       
     3 ###
       
     4 ## This script creates "PBProjects.tar.gz" in the parent directory
       
     5 ###
       
     6 
       
     7 # remove build products
       
     8 rm -rf build
       
     9 
       
    10 # remove Finder info files
       
    11 find . -name ".DS_Store" -exec rm "{}" ";"
       
    12 
       
    13 # remove user project prefs
       
    14 find . -name "*.pbxuser" -exec rm "{}" ";"
       
    15 
       
    16 # create the archive
       
    17 (cd .. && gnutar -zcvf PBProjects.tar.gz PBProjects)
       
    18 
       
    19 
       
    20