gosora/install.bat

18 lines
239 B
Batchfile

@echo off
echo Installing the dependencies
go get
if %errorlevel% neq 0 (
pause
exit /b %errorlevel%
)
echo Building the installer
go generate
go build "./cmd/install"
if %errorlevel% neq 0 (
pause
exit /b %errorlevel%
)
install.exe