Skip to content

Commit 6eeb38f

Browse files
committed
Adapt the scripts to sbt-native-packager
1 parent 1e2be00 commit 6eeb38f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

project/scripts/buildScalaBinary

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ SBT="$ROOT/project/scripts/sbt" # if run on CI
99
source "$ROOT/bin/common-platform"
1010

1111
# build the scala/scalac/scaladoc binary, where scala is native for the current platform.
12-
"$SBT" "$DIST_PROJECT/pack"
12+
"$SBT" "$DIST_PROJECT/Universal/stage"

project/scripts/cmdScaladocTests

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ SOURCE_LINKS_REPOSITORY="scala/scala3"
2020
SOURCE_LINKS_VERSION="${GITHUB_SHA:-$DOTTY_BOOTSTRAPPED_VERSION}"
2121

2222
"$SBT" "scaladoc/generateTestcasesDocumentation" > "$tmp" 2>&1 || echo "generated testcases project with sbt"
23-
dist/target/pack/bin/scaladoc \
23+
dist/target/universal/stage/bin/scaladoc \
2424
-d "$OUT1" \
2525
-project "scaladoc testcases" \
2626
-source-links:out/bootstrap/scala2-library-bootstrapped/scala-"${DOTTY_NONBOOTSTRAPPED_VERSION}"/src_managed/main/scala-library-src=github://scala/scala/v"${STDLIB_VERSION}"#src/library \

0 commit comments

Comments
 (0)