PBProjects/mkpbprojects.csh
author Ryan C. Gordon <icculus@icculus.org>
Wed, 03 Oct 2018 22:45:05 -0400
branchstable-1.0
changeset 1648 93b4c3bc6b9d
parent 518 678bd642c6b5
permissions -rwxr-xr-x
Fixed Win10's GetUserProfileDirectory() bug in stable-1.0 branch.

#!/bin/csh

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

# remove build products
rm -rf build

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

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

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