File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,6 @@ PREFIX="dist/target/pack"
5
5
SOURCE=" tests/pos/HelloWorld.scala"
6
6
$PREFIX /bin/scalac @project/scripts/options " $SOURCE "
7
7
$PREFIX /bin/scalac -d out " $SOURCE "
8
- $PREFIX /bin/scala -classpath out HelloWorld
9
- $PREFIX /bin/scala -classpath out -J-Xmx512m HelloWorld
8
+ $PREFIX /bin/scala --power - classpath out -M HelloWorld --offline ' --server=false '
9
+ $PREFIX /bin/scala --power - classpath out -J -Xmx512m -M HelloWorld --offline ' --server=false '
10
10
mkdir -p _site && $PREFIX /bin/scaladoc -d _site -project Hello " $SOURCE "
Original file line number Diff line number Diff line change @@ -14,10 +14,10 @@ if not %ERRORLEVEL%==0 endlocal& exit /b 1
14
14
call " %_PREFIX% \bin\scalac.bat" -d " %_OUT_DIR% " " %_SOURCE% "
15
15
if not %ERRORLEVEL% == 0 endlocal& exit /b 1
16
16
17
- call " %_PREFIX% \bin\scala.bat" -classpath " %_OUT_DIR% " HelloWorld
17
+ call " %_PREFIX% \bin\scala.bat" --power - classpath " %_OUT_DIR% " -M HelloWorld --offline --server=false
18
18
if not %ERRORLEVEL% == 0 endlocal& exit /b 1
19
19
20
- call " %_PREFIX% \bin\scala.bat" -classpath " %_OUT_DIR% " -J-Xmx512m HelloWorld
20
+ call " %_PREFIX% \bin\scala.bat" --power - classpath " %_OUT_DIR% " -J -Xmx512m -M HelloWorld --offline --server=false
21
21
if not %ERRORLEVEL% == 0 endlocal& exit /b 1
22
22
23
23
if not exist " %_SITE_DIR% " mkdir " %_SITE_DIR% "
You can’t perform that action at this time.
0 commit comments