plugins/compile.sh
author David Anderson <dvander@alliedmods.net>
Sun Oct 21 20:06:30 2007 +0000 (2007-10-21)
changeset 1621 ac5d4c68a99a
parent 1403 ecb9c66fd4bb
child 2527 6271a67d06eb
permissions -rwxr-xr-x
- added ShowActivity2() which has a more convenient display algorithm
- added commandfilters.inc and ProcessTargetString(), an extensible API for processing a command target and getting back formatted replies + player lists. This makes SearchForClients() look paltry, and base plugins will slowly be moved to support the new functionality
- removed IsPlayerAlive() from SDKTools, added it to Core
- fixed a small bug in re-entrant translations
- core.games.txt is now automatically added to all plugins
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