plugins/compile.sh
author David Anderson <dvander@alliedmods.net>
Fri Oct 31 22:47:13 2008 -0700 (2008-10-31)
changeset 2385 2265a1fd35c9
parent 1403 ecb9c66fd4bb
child 2527 6271a67d06eb
permissions -rwxr-xr-x
Fixed gamedata file refcounting bug in the structs extension.
dvander@1403
     1
#!/bin/bash
dvander@1403
     2
dvander@1403
     3
test -e compiled || mkdir compiled
dvander@1403
     4
dvander@1403
     5
for sourcefile in *.sp
dvander@1403
     6
do
dvander@1403
     7
	smxfile="`echo $sourcefile | sed -e 's/\.sp$/\.smx/'`"
dvander@1403
     8
	echo -n "Compiling $sourcefile ..."
dvander@1403
     9
	./spcomp $sourcefile -ocompiled/$smxfile
dvander@1403
    10
done
dvander@1403
    11