Files
shinespark/launch_localtest.sh
T
EIREXE 3877e36777
CI / build-and-test (pull_request) Successful in 1m12s
Refresh documentation and add test script
2026-09-17 17:02:52 +02:00

8 lines
293 B
Bash
Executable File

#!/bin/bash
FIRST="cargo run -- --debug-match --players 2 --local-port 7000 \
--net-player 0=local --net-player 1=127.0.0.1:7001"
SECOND="cargo run -- --debug-match --players 2 --local-port 7001 \
--net-player 0=127.0.0.1:7000 --net-player 1=local"
(trap 'kill 0' SIGINT; $FIRST & $SECOND)