gosora/install.bat

30 lines
413 B
Batchfile
Raw Normal View History

@echo off
echo Installing the dependencies
2019-03-31 00:39:54 +00:00
go get -u github.com/mailru/easyjson/...
if %errorlevel% neq 0 (
pause
exit /b %errorlevel%
)
easyjson -pkg common
if %errorlevel% neq 0 (
pause
exit /b %errorlevel%
)
go get
if %errorlevel% neq 0 (
pause
exit /b %errorlevel%
)
2017-07-12 11:05:18 +00:00
echo Building the installer
go generate
go build "./cmd/install"
if %errorlevel% neq 0 (
pause
exit /b %errorlevel%
)
2017-07-12 11:05:18 +00:00
install.exe