update build script

pull/79/head
Alexander Bentkamp 3 years ago
parent b703752f3a
commit 105dd39f12

@ -9,14 +9,9 @@ cd $(dirname $0)
docker build --pull --rm -f elan.Dockerfile -t elan:latest . docker build --pull --rm -f elan.Dockerfile -t elan:latest .
# Build Adam # Build Adam
( if [ ! -d adam ] ( rm -rf adam
then git clone https://github.com/hhu-adam/Robo adam/
git clone https://github.com/hhu-adam/Robo adam/ cd adam
cd adam
else
cd adam
git pull
fi
lake exe cache get lake exe cache get
lake build) lake build)
docker rmi adam:latest || true docker rmi adam:latest || true
@ -25,17 +20,11 @@ docker build \
--rm -f server.Dockerfile -t adam:latest . --rm -f server.Dockerfile -t adam:latest .
# Build NNG # Build NNG
( if [ ! -d nng ] ( rm -rf nng
then git clone https://github.com/hhu-adam/NNG4 nng/
git clone https://github.com/hhu-adam/NNG4 nng/ cd nng
cd nng
else
cd nng
git pull
fi
lake exe cache get lake exe cache get
lake build) lake build)
docker rmi nng:latest || true docker rmi nng:latest || true
docker build \ docker build \
--build-arg GAME_DIR=nng \ --build-arg GAME_DIR=nng \

Loading…
Cancel
Save