2018-03-21 05:56:33 +00:00
|
|
|
@echo off
|
|
|
|
|
2018-10-27 04:12:13 +00:00
|
|
|
echo Updating the dependencies
|
|
|
|
go get
|
2018-03-21 05:56:33 +00:00
|
|
|
if %errorlevel% neq 0 (
|
|
|
|
pause
|
|
|
|
exit /b %errorlevel%
|
|
|
|
)
|
|
|
|
|
2019-02-10 06:01:09 +00:00
|
|
|
go get -u github.com/mailru/easyjson/...
|
|
|
|
|
2018-04-04 11:25:34 +00:00
|
|
|
echo Updating Gosora
|
2018-06-06 04:33:47 +00:00
|
|
|
git stash
|
|
|
|
if %errorlevel% neq 0 (
|
|
|
|
pause
|
|
|
|
exit /b %errorlevel%
|
|
|
|
)
|
2018-04-05 06:52:11 +00:00
|
|
|
git pull origin master
|
2018-03-21 05:56:33 +00:00
|
|
|
if %errorlevel% neq 0 (
|
|
|
|
pause
|
|
|
|
exit /b %errorlevel%
|
|
|
|
)
|
2018-06-06 04:33:47 +00:00
|
|
|
git stash apply
|
|
|
|
if %errorlevel% neq 0 (
|
|
|
|
pause
|
|
|
|
exit /b %errorlevel%
|
|
|
|
)
|
2018-04-04 11:25:34 +00:00
|
|
|
|
|
|
|
echo Patching Gosora
|
2018-04-07 05:27:25 +00:00
|
|
|
go generate
|
2018-04-04 11:25:34 +00:00
|
|
|
go build ./patcher
|
|
|
|
patcher.exe
|