2024-10-10 22:31:07 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2024-10-14 21:06:58 +00:00
|
|
|
set -e
|
|
|
|
|
|
|
|
if ! [ -d ".git" ]; then
|
|
|
|
echo "Run in the project root"
|
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
./scripts/build.sh
|
2024-10-10 22:31:07 +00:00
|
|
|
|
|
|
|
echo "### DAEMON ###"
|
|
|
|
./build/server/simworld-daemon &
|
|
|
|
sleep 1
|
|
|
|
|
|
|
|
echo "### CLIENT 1 ###"
|
|
|
|
./build/client/simworld-client
|
|
|
|
|
|
|
|
echo "### CLIENT 2 ###"
|
|
|
|
./build/client/simworld-client
|
|
|
|
|
2024-11-14 15:12:23 +00:00
|
|
|
echo "### CLIENT 3 ###"
|
|
|
|
sleep 1
|
|
|
|
./build/client/simworld-client
|
|
|
|
|
2024-10-10 22:31:07 +00:00
|
|
|
killall simworld-daemon
|