3 if [ ! -d qcsrc ]; then
4 echo "failed to find qcsrc directory in $(pwd), please run this script"
5 echo "from nexuiz data directory"
8 # ensure this is actually a xonotic repo
9 pushd qcsrc > /dev/null
10 if [ ! -d client -o ! -d common -o ! -d menu -o ! -d server -o ! -d warpzonelib ]; then
11 echo "this doesnt look like a nexuiz source tree, aborting"
17 echo -n "removing redundant files ..."
22 rm -f nexuiz.vcproj.user
25 echo -n "creating projects ..."
32 echo -n "creating zip archive ..."
33 zip -r -9 ../nexuiz.zip * > /dev/null