From: MaxSMokeSkaarj Date: Sun, 15 Dec 2024 04:53:16 +0000 (+1000) Subject: Автообновление SS14 X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=70459cab1acd18285962793a93211ce0e2994a88;p=space-station-14.git Автообновление SS14 --- 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;