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__ (
27
27
rem ##########################################################################
28
28
rem ## Main
29
29
30
+ rem # check that `sbt dotc` compiles and `sbt dotr` runs it
30
31
echo testing sbt dotc and dotr
31
32
if %_DEBUG% == 1 echo [%_BASENAME% ] " %_SBT_CMD% " " ;dotc %_SOURCE% -d %_OUT_DIR% ;dotr -classpath %_OUT_DIR% %_MAIN% " ^ > " %_TMP_FILE% "
32
33
call " %_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 =" "%
52
53
if not %_EXITCODE% == 0 goto end
53
54
54
55
echo 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% "
57
58
if not %ERRORLEVEL% == 0 ( set _EXITCODE = 1& goto end )
58
59
call :grep " def main(args: scala.Array\[scala.Predef.String\]): scala.Unit =" " %_TMP_FILE% "
59
60
if not %_EXITCODE% == 0 goto end
You can’t perform that action at this time.
0 commit comments