amxmodx/plugins/compile.sh
2004-09-17 00:51:20 +00:00

15 lines
354 B
Bash
Executable File

#!/bin/bash
# AMX Mod X
#
# by the AMX Mod X Development Team
# originally developed by OLO
#
# This file is part of AMX Mod X.
test -e compiled || mkdir compiled
ls *.sma | xargs -i ./amxxsc \{\} -ocompiled/\{\} > temp.txt
ls compiled/*.amx | xargs -i basename \{\} .amx | xargs -i mv compiled/\{\}.amxx compiled/\{\}.amxx
more temp.txt
rm temp.txt