-
Notifications
You must be signed in to change notification settings - Fork 1
/
zbGenerateFallback.cmd
33 lines (24 loc) · 1.22 KB
/
zbGenerateFallback.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
@echo off
echo ********************************************************************************
echo Only generates new Model binaries from the currently deployed modules.
echo Used if only frozen objects has changed during development.
echo XXXXXXXXXXXXX Do not forget to publish changes before committing! XXXXXXXXXXXXXX
echo ********************************************************************************
set config=Configs\%zenv%\Zetbox.Cli.xml
if .%1. == .. GOTO GOON
set config=%1
:GOON
bin\Debug\Zetbox.Cli.exe %configs% -fallback -generate-fallback
IF ERRORLEVEL 1 GOTO FAIL
echo ********************************************************************************
echo ************************************ Success ***********************************
echo ********************************************************************************
GOTO EOF
:FAIL
echo XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX FAIL XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
echo Aborting zbGenerate
rem return error without closing parent shell
echo A | choice /c:A /n
:EOF