From f1322bdbed070bd29e6f80c5eb0c309d5de27e6d Mon Sep 17 00:00:00 2001 From: Yannik Bretschneider Date: Sat, 5 Jun 2021 18:39:51 +0200 Subject: [PATCH] script: redesigned scripts to work based off of CMD instead --- rebuildDocker.bat | 4 +++- updateSubmodule.bat | 7 ++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/rebuildDocker.bat b/rebuildDocker.bat index 075a5e8..56e19e4 100644 --- a/rebuildDocker.bat +++ b/rebuildDocker.bat @@ -1,2 +1,4 @@ @echo off -powershell .\rebuildDocker.ps1 +echo .\gradlew Server:jar | cmd +docker build -t server-testbuild . +# docker run --rm -e "MMU_LOG_LEVEL=5" -p 1218:1218 server-testbuild diff --git a/updateSubmodule.bat b/updateSubmodule.bat index 09f8a86..5085b15 100644 --- a/updateSubmodule.bat +++ b/updateSubmodule.bat @@ -1,2 +1,7 @@ @echo off -powershell .\updateSubmodule.ps1 +git submodule update --init +cd .\Gamelib +git fetch +git checkout gamelib +git pull +cd ..