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%
|
|
|
|
)
|
|
|
|
|
2017-04-13 10:55:51 +00:00
|
|
|
echo Building the router generator
|
|
|
|
go build ./router_gen
|
|
|
|
if %errorlevel% neq 0 (
|
|
|
|
pause
|
|
|
|
exit /b %errorlevel%
|
|
|
|
)
|
|
|
|
echo Running the router generator
|
|
|
|
router_gen.exe
|
|
|
|
|
2017-06-05 11:57:27 +00:00
|
|
|
echo Building the query generator
|
|
|
|
go build ./query_gen
|
|
|
|
if %errorlevel% neq 0 (
|
|
|
|
pause
|
|
|
|
exit /b %errorlevel%
|
|
|
|
)
|
|
|
|
echo Running the query generator
|
|
|
|
query_gen.exe
|
|
|
|
|
2017-01-17 07:55:46 +00:00
|
|
|
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 Running Gosora
|
2016-12-11 16:06:17 +00:00
|
|
|
gosora.exe
|
2017-08-13 11:22:34 +00:00
|
|
|
rem Or you could redirect the output to a file
|
2018-01-17 11:13:08 +00:00
|
|
|
rem gosora.exe > ops.log 2>&1
|
2016-12-05 07:21:17 +00:00
|
|
|
pause
|