plugins/compile.sh
author David Anderson <dvander@alliedmods.net>
Sun Apr 06 08:20:02 2008 +0000 (2008-04-06)
changeset 1970 316eff8d8164
parent 1952 b7aa2b626807
child 2527 6271a67d06eb
permissions -rwxr-xr-x
added regex versioning to windows
ds@1952
     1
#!/bin/bash
ds@1952
     2
ds@1952
     3
test -e compiled || mkdir compiled
ds@1952
     4
ds@1952
     5
for sourcefile in *.sp
ds@1952
     6
do
ds@1952
     7
	smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`"
ds@1952
     8
	echo -n "Compiling $sourcefile ..."
ds@1952
     9
	./spcomp $sourcefile -ocompiled/$smxfile
ds@1952
    10
done
ds@1952
    11