fix command order in run.bat

This commit is contained in:
Azareal 2020-07-19 11:06:09 +10:00
parent 0c230e12ec
commit 6260dbced7

View File

@ -41,6 +41,9 @@ if %errorlevel% neq 0 (
exit /b %errorlevel%
)
echo Generating the JSON handlers
easyjson -pkg common
echo Building the hook generator
go build -tags hookgen -ldflags="-s -w" "./cmd/hook_gen"
if %errorlevel% neq 0 (
@ -54,9 +57,6 @@ if %errorlevel% neq 0 (
exit /b %errorlevel%
)
echo Generating the JSON handlers
easyjson -pkg common
echo Building the query generator
go build -ldflags="-s -w" "./cmd/query_gen"
if %errorlevel% neq 0 (