icfp11/testitradar
Stefan Bühler 3ab78db7f5 top secret
2008-07-13 23:12:52 +02:00

14 lines
290 B
Bash
Executable File

#!/bin/bash
CMD="./build/default/src/icfp08radar localhost 17676"
./waf distclean && ./waf configure && ./waf build --targets icfp08radar
if [ "$1" == "--gdb" ]; then
CMD="gdb --args ${CMD}"
elif [ "$1" == "--valgrind" ]; then
CMD="valgrind --leak-check=full -v ${CMD}"
fi
exec $CMD