Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use sbt-native-packager instead of sbt-pack #20547

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

hamzaremmal
Copy link
Member

@hamzaremmal hamzaremmal commented Jun 10, 2024

This PR is based on #20351.
The idea is to use sbt-native-packager instead of sbt-pack since it has the ability to generate .msi files.

[test_msi]

@hamzaremmal hamzaremmal self-assigned this Jun 10, 2024
@hamzaremmal hamzaremmal force-pushed the msi-installer branch 8 times, most recently from 88a77b7 to 59daf47 Compare June 13, 2024 15:41
@hamzaremmal hamzaremmal force-pushed the msi-installer branch 9 times, most recently from 5d50b44 to 3096410 Compare July 1, 2024 16:25
@hamzaremmal hamzaremmal force-pushed the msi-installer branch 3 times, most recently from 6eeb38f to 7d59d4f Compare July 2, 2024 10:08
bin/common Outdated

# Create the target if absent or if file changed in ROOT/compiler
new_files="$(find "$ROOT/compiler" \( -iname "*.scala" -o -iname "*.java" \) -newer "$version" 2> /dev/null)"

if [ ! -f "$version" ] || [ ! -z "$new_files" ]; then
echo "Building Dotty..."
(cd $ROOT && sbt "$DIST_PROJECT/pack")
(cd $ROOT && sbt "$DIST_PROJECT/Universal/packageBin")
Copy link
Member

@bishabosha bishabosha Jul 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be the stage task, looking at the similar changes in this commit

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, good catch !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants