2 if ! make -j$(nproc); then
6 DEBUG_DIR=/tmp/dragonblocks_alpha_debug_$$/
9 echo "singleplayer" > $DEBUG_DIR/name
11 COMMON="set confirm off
12 handle SIGTERM nostop print pass
13 handle SIGPIPE nostop noprint pass
24 run ::1 4000 < $DEBUG_DIR/name
25 " > $DEBUG_DIR/client_script
29 " > $DEBUG_DIR/server_script
32 echo \$\$ > $DEBUG_DIR/server_pid
33 exec gdb --command $DEBUG_DIR/server_script ./DragonblocksServer
36 gdb --command $DEBUG_DIR/client_script ./Dragonblocks
38 kill `cat $DEBUG_DIR/server_pid`