github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/dev-update.bat (about) 1 @echo off 2 3 echo Updating the dependencies 4 go get 5 if %errorlevel% neq 0 ( 6 pause 7 exit /b %errorlevel% 8 ) 9 10 go get -u github.com/mailru/easyjson/... 11 12 echo Updating Gosora 13 git stash 14 if %errorlevel% neq 0 ( 15 pause 16 exit /b %errorlevel% 17 ) 18 git pull origin master 19 if %errorlevel% neq 0 ( 20 pause 21 exit /b %errorlevel% 22 ) 23 git stash apply 24 if %errorlevel% neq 0 ( 25 pause 26 exit /b %errorlevel% 27 ) 28 29 echo Patching Gosora 30 go generate 31 go build -ldflags="-s -w" ./patcher 32 patcher.exe