X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=misc%2Fnexuiz_export.sh;fp=misc%2Fnexuiz_export.sh;h=0000000000000000000000000000000000000000;hp=a07a7af6f359c709ab6a72e1a7572106e945902e;hb=6caaedd269a1db1ce6e07d85bb857528c3b50795;hpb=8b250457abe36b696feffc4fcebfb35c225044fb diff --git a/misc/nexuiz_export.sh b/misc/nexuiz_export.sh deleted file mode 100755 index a07a7af..0000000 --- a/misc/nexuiz_export.sh +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh - -if [ ! -d qcsrc ]; then - echo "failed to find qcsrc directory in $(pwd), please run this script" - echo "from nexuiz data directory" - exit 1 -else - # ensure this is actually a xonotic repo - pushd qcsrc > /dev/null - if [ ! -d client -o ! -d common -o ! -d menu -o ! -d server -o ! -d warpzonelib ]; then - echo "this doesnt look like a nexuiz source tree, aborting" - popd > /dev/null - exit 1 - fi -fi - -echo -n "removing redundant files ..." -rm -f nexuiz.ncb -rm -f nexuiz.sln -rm -f nexuiz.suo -rm -f nexuiz.vcproj -rm -f nexuiz.vcproj.user -echo "complete" - -echo -n "creating projects ..." -echo "client" > dirs -echo "server" >> dirs -echo "menu" >> dirs - -echo "complete" - -echo -n "creating zip archive ..." -zip -r -9 ../nexuiz.zip * > /dev/null -echo "complete" - -popd > /dev/null -echo "finished!"