Skip to content

Commit

Permalink
Adapt the scripts to sbt-native-packager
Browse files Browse the repository at this point in the history
  • Loading branch information
hamzaremmal committed Jul 2, 2024
1 parent 1e2be00 commit 6eeb38f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion project/scripts/buildScalaBinary
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ SBT="$ROOT/project/scripts/sbt" # if run on CI
source "$ROOT/bin/common-platform"

# build the scala/scalac/scaladoc binary, where scala is native for the current platform.
"$SBT" "$DIST_PROJECT/pack"
"$SBT" "$DIST_PROJECT/Universal/stage"
2 changes: 1 addition & 1 deletion project/scripts/cmdScaladocTests
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ SOURCE_LINKS_REPOSITORY="scala/scala3"
SOURCE_LINKS_VERSION="${GITHUB_SHA:-$DOTTY_BOOTSTRAPPED_VERSION}"

"$SBT" "scaladoc/generateTestcasesDocumentation" > "$tmp" 2>&1 || echo "generated testcases project with sbt"
dist/target/pack/bin/scaladoc \
dist/target/universal/stage/bin/scaladoc \
-d "$OUT1" \
-project "scaladoc testcases" \
-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 \
Expand Down

0 comments on commit 6eeb38f

Please sign in to comment.