icfp11/testitradar

14 lines
287 B
Plaintext
Raw Normal View History

2008-07-13 13:19:43 +00:00
#!/bin/bash
2008-07-13 19:57:26 +00:00
CMD="./build/default/src/icfp08radar localhost 17676"
2008-07-13 13:19:43 +00:00
./waf distclean && ./waf configure && ./waf build --targets icfp08radar
2008-07-13 19:57:26 +00:00
if [ "$1" == "--gdb" ]; then
CMD="gdb --args ${CMD}"
elif [ "$1" == "--valgrind" ]; then
2008-07-13 20:13:40 +00:00
CMD="valgrind --leak-check=full ${CMD}"
2008-07-13 19:57:26 +00:00
fi
exec $CMD