plugins/compile.sh
author Matt Woodrow <pred@alliedmods.net>
Thu Feb 26 16:54:03 2009 -0500 (2009-02-26)
changeset 2622 b3ffa8a4511c
parent 1403 ecb9c66fd4bb
child 2527 6271a67d06eb
permissions -rwxr-xr-x
Bumped all versions
     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