mirror of
https://athene2.informatik.unibw-muenchen.de/progproj/gruppen-ht24/Gruppe-02.git
synced 2026-10-05 20:31:23 +02:00
added contents
This commit is contained in:
16
Projekte/battleship/run-mac.sh
Normal file
16
Projekte/battleship/run-mac.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Starts the server and two clients in different terminal windows on MacOS
|
||||
|
||||
# export JAVA_OPTS="-Duser.language=fr -Duser.region=FR -Djava.util.logging.config.file=logging.properties"
|
||||
# export JAVA_OPTS="-Duser.language=en -Duser.region=US -Djava.util.logging.config.file=logging.properties"
|
||||
export JAVA_OPTS="-Djava.util.logging.config.file=logging.properties"
|
||||
|
||||
export CWD=`pwd`/`dirname $0`
|
||||
cd $CWD/..
|
||||
./gradlew installDist
|
||||
osascript -e "tell app \"Terminal\" to do script \"cd $CWD/server; build/install/battleship-server/bin/battleship-server\""
|
||||
sleep 2
|
||||
osascript -e "tell app \"Terminal\" to do script \"cd $CWD/client; build/install/battleship/bin/battleship\""
|
||||
sleep 2
|
||||
osascript -e "tell app \"Terminal\" to do script \"cd $CWD/client; build/install/battleship/bin/battleship\""
|
||||
Reference in New Issue
Block a user