File tree Expand file tree Collapse file tree 7 files changed +15
-1
lines changed Expand file tree Collapse file tree 7 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -156,6 +156,8 @@ TASTY_CORE=$(find_lib "*tasty-core*")
156
156
SCALA_ASM=$( find_lib " *scala-asm*" )
157
157
SCALA_LIB=$( find_lib " *scala-library*" )
158
158
SBT_INTF=$( find_lib " *compiler-interface*" )
159
+ DOTTY_DIST=$( find_lib " *scala3-dist*" )
160
+ DOTTY_REPL=$( find_lib " *scala3-repl*" )
159
161
JLINE_READER=$( find_lib " *jline-reader-3*" )
160
162
JLINE_TERMINAL=$( find_lib " *jline-terminal-3*" )
161
163
JLINE_TERMINAL_JNA=$( find_lib " *jline-terminal-jna-3*" )
@@ -182,6 +184,8 @@ compilerJavaClasspathArgs () {
182
184
toolchain+=" $TASTY_CORE$PSEP "
183
185
toolchain+=" $DOTTY_STAGING$PSEP "
184
186
toolchain+=" $DOTTY_TASTY_INSPECTOR$PSEP "
187
+ toolchain+=" $DOTTY_DIST$PSEP "
188
+ toolchain+=" $DOTTY_REPL$PSEP "
185
189
186
190
# jine
187
191
toolchain+=" $JLINE_READER$PSEP "
Original file line number Diff line number Diff line change @@ -51,6 +51,8 @@ for /f "delims=" %%f in ('dir /a-d /b "%_LIB_DIR%\*tasty-core*"') do
51
51
for /f " delims=" %%f in ('dir /a-d /b " %_LIB_DIR% \*scala-asm*" ') do set " _SCALA_ASM = %_LIB_DIR% \%%f "
52
52
for /f " delims=" %%f in ('dir /a-d /b " %_LIB_DIR% \*scala-library*" ') do set " _SCALA_LIB = %_LIB_DIR% \%%f "
53
53
for /f " delims=" %%f in ('dir /a-d /b " %_LIB_DIR% \*compiler-interface*" ') do set " _SBT_INTF = %_LIB_DIR% \%%f "
54
+ for /f " delims=" %%f in ('dir /a-d /b " %_LIB_DIR% \*scala3-dist*" ') do set " _SCALA3_DIST = %_LIB_DIR% \%%f "
55
+ for /f " delims=" %%f in ('dir /a-d /b " %_LIB_DIR% \*scala3-repl*" ') do set " _SCALA3_REPL = %_LIB_DIR% \%%f "
54
56
for /f " delims=" %%f in ('dir /a-d /b " %_LIB_DIR% \*jline-reader-3*" ') do set " _JLINE_READER = %_LIB_DIR% \%%f "
55
57
for /f " delims=" %%f in ('dir /a-d /b " %_LIB_DIR% \*jline-terminal-3*" ') do set " _JLINE_TERMINAL = %_LIB_DIR% \%%f "
56
58
for /f " delims=" %%f in ('dir /a-d /b " %_LIB_DIR% \*jline-terminal-jna-3*" ') do set " _JLINE_TERMINAL_JNA = %_LIB_DIR% \%%f "
Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ set "__TOOLCHAIN=%__TOOLCHAIN%%_SCALA3_COMP%%_PSEP%"
73
73
set " __TOOLCHAIN = %__TOOLCHAIN%%_TASTY_CORE%%_PSEP% "
74
74
set " __TOOLCHAIN = %__TOOLCHAIN%%_SCALA3_STAGING%%_PSEP% "
75
75
set " __TOOLCHAIN = %__TOOLCHAIN%%_SCALA3_TASTY_INSPECTOR%%_PSEP% "
76
+ set " __TOOLCHAIN = %__TOOLCHAIN%%_SCALA3_DIST%%_PSEP% "
77
+ set " __TOOLCHAIN = %__TOOLCHAIN%%_SCALA3_REPL%%_PSEP% "
76
78
77
79
@ rem # jline
78
80
set " __TOOLCHAIN = %__TOOLCHAIN%%_JLINE_READER%%_PSEP% "
Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ set "__TOOLCHAIN=%__TOOLCHAIN%%_SCALA3_COMP%%_PSEP%"
102
102
set " __TOOLCHAIN = %__TOOLCHAIN%%_TASTY_CORE%%_PSEP% "
103
103
set " __TOOLCHAIN = %__TOOLCHAIN%%_SCALA3_STAGING%%_PSEP% "
104
104
set " __TOOLCHAIN = %__TOOLCHAIN%%_SCALA3_TASTY_INSPECTOR%%_PSEP% "
105
+ set " __TOOLCHAIN = %__TOOLCHAIN%%_SCALA3_DIST%%_PSEP% "
106
+ set " __TOOLCHAIN = %__TOOLCHAIN%%_SCALA3_REPL%%_PSEP% "
105
107
106
108
@ rem # jline
107
109
set " __TOOLCHAIN = %__TOOLCHAIN%%_JLINE_READER%%_PSEP% "
Original file line number Diff line number Diff line change @@ -60,6 +60,8 @@ classpathArgs () {
60
60
CLASS_PATH+=" $( find_lib " *scala3-library*" ) $PSEP "
61
61
CLASS_PATH+=" $( find_lib " *tasty-core*" ) $PSEP "
62
62
CLASS_PATH+=" $( find_lib " *scala3-tasty-inspector*" ) $PSEP "
63
+ CLASS_PATH+=" $( find_lib " *scala3-repl*" ) $PSEP "
64
+ CLASS_PATH+=" $( find_lib " *scala3-dist*" ) $PSEP "
63
65
CLASS_PATH+=" $( find_lib " *flexmark-0*" ) $PSEP "
64
66
CLASS_PATH+=" $( find_lib " *flexmark*" ) $PSEP "
65
67
CLASS_PATH+=" $( find_lib " *flexmark-ext-anchorlink*" ) $PSEP "
Original file line number Diff line number Diff line change @@ -110,6 +110,8 @@ call :updateClasspath "scala3-interfaces"
110
110
call :updateClasspath " scala3-library"
111
111
call :updateClasspath " tasty-core"
112
112
call :updateClasspath " scala3-tasty-inspector"
113
+ call :updateClasspath " scala3-repl"
114
+ call :updateClasspath " scala3-dist"
113
115
call :updateClasspath " flexmark-0"
114
116
call :updateClasspath " flexmark-html-parser"
115
117
call :updateClasspath " flexmark-ext-anchorlink"
Original file line number Diff line number Diff line change @@ -1980,8 +1980,8 @@ object Build {
1980
1980
)
1981
1981
1982
1982
lazy val commonDistSettings = Seq (
1983
+ name := " scala3-dist" ,
1983
1984
packMain := Map (),
1984
- publishArtifact := false ,
1985
1985
packGenerateMakefile := false ,
1986
1986
packExpandedClasspath := true ,
1987
1987
packArchiveName := " scala3-" + dottyVersion
You can’t perform that action at this time.
0 commit comments