Skip to content

Commit 30e0cd8

Browse files
Merge pull request #8225 from dotty-staging/fix-#8218-0.22.x
Fix #8218: Add missing TASTy Inspector dependency in dist/pack
2 parents 135970f + 7df16f6 commit 30e0cd8

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

dist/bin/common

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ DOTTY_COMP=$(find_lib "*dotty-compiler*")
108108
DOTTY_INTF=$(find_lib "*dotty-interfaces*")
109109
DOTTY_LIB=$(find_lib "*dotty-library*")
110110
DOTTY_STAGING=$(find_lib "*dotty-staging*")
111-
DOTTY_CONSUME_TASTY=$(find_lib "*dotty-consume-tasty*")
111+
DOTTY_TASTY_INSPECTOR=$(find_lib "*dotty-tasty-inspector*")
112112
TASTY_CORE=$(find_lib "*tasty-core*")
113113
SCALA_ASM=$(find_lib "*scala-asm*")
114114
SCALA_LIB=$(find_lib "*scala-library*")

dist/bin/dotc

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ classpathArgs () {
6464
toolchain+="$DOTTY_COMP$PSEP"
6565
toolchain+="$TASTY_CORE$PSEP"
6666
toolchain+="$DOTTY_STAGING$PSEP"
67+
toolchain+="$DOTTY_TASTY_INSPECTOR$PSEP"
6768

6869
# jine
6970
toolchain+="$JLINE_READER$PSEP"

dist/bin/dotd

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ ST4_LIB=$(find_lib "*ST4*")
7676
# Set jsoup dep:
7777
JSOUP_LIB=$(find_lib "*jsoup*")
7878

79-
CLASS_PATH="$DOTTY_LIB$PSEP$DOTTY_COMP$PSEP$TASTY_CORE$PSEP$DOTTY_DOC_LIB$PSEP$DOTTY_INTF$PSEP$SBT_INTF$PSEP$DOTTY_STAGING"
79+
CLASS_PATH="$DOTTY_LIB$PSEP$DOTTY_COMP$PSEP$TASTY_CORE$PSEP$DOTTY_DOC_LIB$PSEP$DOTTY_INTF$PSEP$SBT_INTF$PSEP$DOTTY_STAGING$PSEP$DOTTY_TASTY_INSPECTOR"
8080
CLASS_PATH="$CLASS_PATH$PSEP$SCALA_LIB"
8181
CLASS_PATH="$CLASS_PATH$PSEP$FLEXMARK_LIBS"
8282
CLASS_PATH="$CLASS_PATH$PSEP$JACKSON_LIBS"

dist/bin/dotr

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ elif [ $execute_repl == true ] || [ ${#residual_args[@]} -ne 0 ]; then
102102
echo "warning: multiple classpaths are found, dotr only use the last one."
103103
fi
104104
if [ $with_compiler == true ]; then
105-
cp_arg+="$PSEP$DOTTY_COMP$PSEP$TASTY_CORE$PSEP$DOTTY_INTF$PSEP$SCALA_ASM$PSEP$DOTTY_STAGING$PSEP$DOTTY_CONSUME_TASTY"
105+
cp_arg+="$PSEP$DOTTY_COMP$PSEP$TASTY_CORE$PSEP$DOTTY_INTF$PSEP$SCALA_ASM$PSEP$DOTTY_STAGING$PSEP$DOTTY_TASTY_INSPECTOR"
106106
fi
107107
eval exec "\"$JAVACMD\"" "$DEBUG" "-classpath \"$cp_arg\"" "${jvm_options[@]}" "${residual_args[@]}"
108108
else

project/Build.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -1382,7 +1382,7 @@ object Build {
13821382
def asDist(implicit mode: Mode): Project = project.
13831383
enablePlugins(PackPlugin).
13841384
withCommonSettings.
1385-
dependsOn(`dotty-interfaces`, dottyCompiler, dottyLibrary, tastyCore, `dotty-staging`, dottyDoc).
1385+
dependsOn(`dotty-interfaces`, dottyCompiler, dottyLibrary, tastyCore, `dotty-staging`, `dotty-tasty-inspector`, dottyDoc).
13861386
settings(commonDistSettings).
13871387
bootstrappedSettings(
13881388
target := baseDirectory.value / "target" // override setting in commonBootstrappedSettings

0 commit comments

Comments
 (0)