Returning correct exit code from Windows batch scripts.

This commit is contained in:
Evgeny Gerashchenko
2013-11-21 15:19:04 +04:00
parent 51ac515941
commit f2bbbed7f6
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -42,6 +42,7 @@ if "%_PROFILE_PRELOADER%"=="time" (
org.jetbrains.jet.preloading.Preloader "%_KOTLIN_HOME%\lib\kotlin-compiler.jar;%_KOTLIN_HOME%\lib\kotlin-runtime.jar" ^
org.jetbrains.jet.cli.js.K2JSCompiler 4096 %_PROFILE_PRELOADER% %*
)
EXIT /B %ERRORLEVEL%
goto end
rem ##########################################################################
+1
View File
@@ -42,6 +42,7 @@ if "%_PROFILE_PRELOADER%"=="time" (
org.jetbrains.jet.preloading.Preloader "%_KOTLIN_HOME%\lib\kotlin-compiler.jar;%_KOTLIN_HOME%\lib\kotlin-runtime.jar" ^
org.jetbrains.jet.cli.jvm.K2JVMCompiler 4096 %_PROFILE_PRELOADER% %*
)
EXIT /B %ERRORLEVEL%
goto end
rem ##########################################################################