fix command order in run.bat
This commit is contained in:
parent
0c230e12ec
commit
6260dbced7
6
run.bat
6
run.bat
|
@ -41,6 +41,9 @@ if %errorlevel% neq 0 (
|
||||||
exit /b %errorlevel%
|
exit /b %errorlevel%
|
||||||
)
|
)
|
||||||
|
|
||||||
|
echo Generating the JSON handlers
|
||||||
|
easyjson -pkg common
|
||||||
|
|
||||||
echo Building the hook generator
|
echo Building the hook generator
|
||||||
go build -tags hookgen -ldflags="-s -w" "./cmd/hook_gen"
|
go build -tags hookgen -ldflags="-s -w" "./cmd/hook_gen"
|
||||||
if %errorlevel% neq 0 (
|
if %errorlevel% neq 0 (
|
||||||
|
@ -54,9 +57,6 @@ if %errorlevel% neq 0 (
|
||||||
exit /b %errorlevel%
|
exit /b %errorlevel%
|
||||||
)
|
)
|
||||||
|
|
||||||
echo Generating the JSON handlers
|
|
||||||
easyjson -pkg common
|
|
||||||
|
|
||||||
echo Building the query generator
|
echo Building the query generator
|
||||||
go build -ldflags="-s -w" "./cmd/query_gen"
|
go build -ldflags="-s -w" "./cmd/query_gen"
|
||||||
if %errorlevel% neq 0 (
|
if %errorlevel% neq 0 (
|
||||||
|
|
Loading…
Reference in New Issue