CI / build-and-test (push) Successful in 1m10s
Closes #24 Co-authored-by: Álex Román Núñez <eirexe@eirteam.moe>
8 lines
293 B
Bash
Executable File
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) |