mirror of https://github.com/axmolengine/axmol.git
issue #1603:modify windows auto-build script
This commit is contained in:
parent
c3e44f0e26
commit
79530616ea
|
@ -17,7 +17,7 @@ cd %_ROOT_%
|
|||
|
||||
:project
|
||||
::Copy build Configuration files to target directory
|
||||
copy %_ROOT_%\tools\jenkins_scripts\ant.properties %_ROOT_%\samples\%_LANGUANE_%\%_PROJECTNAME%\proj.android
|
||||
copy %_ROOT_%\tools\jenkins_scripts\ant.properties %_ROOT_%\samples\%_LANGUAGE_%\%_PROJECTNAME%\proj.android
|
||||
copy %_ROOT_%\tools\jenkins_scripts\build.xml %_ROOT_%\samples\%_LANGUAGE_%\%_PROJECTNAME%\proj.android
|
||||
copy %_ROOT_%\tools\jenkins_scripts\windows\android\rootconfig.sh %_ROOT_%\samples\%_LANGUAGE_%\%_PROJECTNAME%\proj.android
|
||||
|
||||
|
@ -148,11 +148,11 @@ move ant1.properties ant.properties
|
|||
|
||||
::Calculate the errorlevel and change build target.
|
||||
cd %_ROOT_%
|
||||
IF "%_PROJECTNAME%"=="TestCpp" set /a testresult1=(result8+result10+result11+result12+result13) && set _PROJECTNAME=HelloCpp&& goto project
|
||||
IF "%_PROJECTNAME%"=="HelloCpp" set /a testresult2=(result8+result10+result11+result12+result13) && set _LANGUAGE_=Lua && set _PROJECTNAME=HelloLua&& goto project
|
||||
IF "%_PROJECTNAME%"=="HelloLua" set /a testresult3=(result8+result10+result11+result12+result13)
|
||||
if "%_PROJECTNAME%"=="TestCpp" set /a testresult1=(result8+result10+result11+result12+result13) && set _PROJECTNAME=HelloCpp&& goto project
|
||||
if "%_PROJECTNAME%"=="HelloCpp" set /a testresult2=(result8+result10+result11+result12+result13) && set _LANGUAGE_=Lua && set _PROJECTNAME=HelloLua&& goto project
|
||||
if "%_PROJECTNAME%"=="HelloLua" set /a testresult3=(result8+result10+result11+result12+result13)
|
||||
set /a testresult=(testresult1+testresult2+testresult3)
|
||||
IF %testresult% NEQ 0 goto error
|
||||
if %testresult% NEQ 0 goto error
|
||||
|
||||
goto success
|
||||
|
||||
|
|
Loading…
Reference in New Issue