From 70459cab1acd18285962793a93211ce0e2994a88 Mon Sep 17 00:00:00 2001 From: MaxSMokeSkaarj Date: Sun, 15 Dec 2024 14:53:16 +1000 Subject: [PATCH] =?utf8?q?=D0=90=D0=B2=D1=82=D0=BE=D0=BE=D0=B1=D0=BD=D0=BE?= =?utf8?q?=D0=B2=D0=BB=D0=B5=D0=BD=D0=B8=D0=B5=20SS14?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- build.sh | 41 ++++++++++++++++++++++++++++++----------- 1 file changed, 30 insertions(+), 11 deletions(-) diff --git a/build.sh b/build.sh index 1eca2d3968..2abb6f501f 100755 --- a/build.sh +++ b/build.sh @@ -12,28 +12,47 @@ function updateRobustToolbox() { cd ..; }; +function updateCorvaxRepo() { + cd Corvax-SS14; + git pull origin master; + cd ..; +}; + +function updateMr0maksRepo() { + cd Mr0maks-SS14; + git pull origin master-ru; + cd ..; +}; + function updateSS14() { - updateRobustToolbox + git add .; + git commit -m "Автообновление SS14"; + updateRobustToolbox; git add .; git commit -m "Автообновление RobustToolbox"; git pull origin main; git pull fetch master; - git commit -m "Автообновление SS14"; + git commit -m "Автообновление с вендора SS14"; + updateCorvaxRepo; + cp Corvax-SS14/Resources/Locale/ru-RU Resources/Locale -r; + cp Corvax-SS14/Resources/ServerInfo/Guidebook Resources/ServerInfo -r; + git add .; + git commit -m "Автообновление переводов"; git push origin main; - git push --mirror ssh://git@github.com/MaxSMokeSkaarj/space-station-14 + git push --mirror ssh://git@github.com/MaxSMokeSkaarj/space-station-14; }; function buildServer() { - cd RobustToolbox - git fetch --depth 1 - cd .. - dotnet restore + cd RobustToolbox; + git fetch --depth 1; + cd ..; + dotnet restore; dotnet build Content.Packaging --configuration Release --no-restore /m; dotnet run --project Content.Packaging server --platform win-x64 --platform linux-x64 --platform osx-x64 --platform linux-arm64; - dotnet run --project Content.Packaging client --no-wipe-release + dotnet run --project Content.Packaging client --no-wipe-release; }; -eval $1 -#updateSS14 -#buildServer +eval $1; +#updateSS14; +#buildServer; -- 2.52.0