icfp11/testitradar

14 lines
290 B
Plaintext
Raw Permalink 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 21:12:52 +00:00
CMD="valgrind --leak-check=full -v ${CMD}"
2008-07-13 19:57:26 +00:00
fi
exec $CMD