File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ if not defined __COMMON__ (
2727rem ##########################################################################
2828rem ## Main
2929
30+ rem # check that `sbt dotc` compiles and `sbt dotr` runs it
3031echo testing sbt dotc and dotr
3132if %_DEBUG% == 1 echo [%_BASENAME% ] " %_SBT_CMD% " " ;dotc %_SOURCE% -d %_OUT_DIR% ;dotr -classpath %_OUT_DIR% %_MAIN% " ^ > " %_TMP_FILE% "
3233call " %_SBT_CMD% " " ;dotc %_SOURCE% -d %_OUT_DIR% ;dotr -classpath %_OUT_DIR% %_MAIN% " > " %_TMP_FILE% "
@@ -52,8 +53,8 @@ call :grep "def main(args: scala.Array\[scala.Predef.String\]): scala.Unit =" "%
5253if not %_EXITCODE% == 0 goto end
5354
5455echo testing sbt dotc -decompile from file
55- if %_DEBUG% == 1 echo [%_BASENAME% ] call " %_SBT_CMD% " " ;dotc -decompile -color:never %_OUT_DIR% \%_TASTY% " ^ > " %_TMP_FILE% "
56- call " %_SBT_CMD% " " ;dotc -decompile -color:never %_OUT_DIR% \%_TASTY% " > " %_TMP_FILE% "
56+ if %_DEBUG% == 1 echo [%_BASENAME% ] call " %_SBT_CMD% " " ;dotc -decompile -color:never -classpath %_OUT_DIR% %_OUT_DIR% \%_TASTY% " ^ > " %_TMP_FILE% "
57+ call " %_SBT_CMD% " " ;dotc -decompile -color:never -classpath %_OUT_DIR% %_OUT_DIR% \%_TASTY% " > " %_TMP_FILE% "
5758if not %ERRORLEVEL% == 0 ( set _EXITCODE = 1& goto end )
5859call :grep " def main(args: scala.Array\[scala.Predef.String\]): scala.Unit =" " %_TMP_FILE% "
5960if not %_EXITCODE% == 0 goto end
You can’t perform that action at this time.
0 commit comments