plugins/compile.sh
author David Anderson <dvander@alliedmods.net>
Fri Jul 11 09:24:12 2008 +0000 (2008-07-11)
changeset 2195 5b70179559f9
parent 1952 b7aa2b626807
child 2527 6271a67d06eb
permissions -rwxr-xr-x
fixed regressions in debug mode
     1 #!/bin/bash
     2 
     3 test -e compiled || mkdir compiled
     4 
     5 for sourcefile in *.sp
     6 do
     7 	smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`"
     8 	echo -n "Compiling $sourcefile ..."
     9 	./spcomp $sourcefile -ocompiled/$smxfile
    10 done
    11