2017-01-12 02:55:08 +00:00
|
|
|
@echo off
|
2017-01-17 07:55:46 +00:00
|
|
|
echo Generating the dynamic code
|
|
|
|
go generate
|
|
|
|
if %errorlevel% neq 0 (
|
|
|
|
pause
|
|
|
|
exit /b %errorlevel%
|
|
|
|
)
|
|
|
|
|
|
|
|
echo Building the executable
|
2017-01-26 13:37:50 +00:00
|
|
|
go build -o gosora.exe
|
2017-01-12 02:55:08 +00:00
|
|
|
if %errorlevel% neq 0 (
|
|
|
|
pause
|
|
|
|
exit /b %errorlevel%
|
|
|
|
)
|
2017-01-17 07:55:46 +00:00
|
|
|
|
|
|
|
echo Building the installer
|
2017-01-10 06:51:28 +00:00
|
|
|
go build ./install
|
2017-01-12 02:55:08 +00:00
|
|
|
if %errorlevel% neq 0 (
|
|
|
|
pause
|
|
|
|
exit /b %errorlevel%
|
|
|
|
)
|
2017-04-13 09:26:40 +00:00
|
|
|
|
|
|
|
echo Building the router generator
|
|
|
|
go build ./router_gen
|
|
|
|
if %errorlevel% neq 0 (
|
|
|
|
pause
|
|
|
|
exit /b %errorlevel%
|
|
|
|
)
|
2017-01-12 02:55:08 +00:00
|
|
|
echo Gosora was successfully built
|
2016-12-06 10:26:48 +00:00
|
|
|
pause
|