gosora/experimental/new-update.bat

18 lines
246 B
Batchfile

@echo off
echo Updating the dependencies
go get
if %errorlevel% neq 0 (
pause
exit /b %errorlevel%
)
echo Building the updater
go generate
go build -ldflags="-s -w" ./updater
if %errorlevel% neq 0 (
pause
exit /b %errorlevel%
)
updater.exe