Skip to content

use coursier instead of sbt for Scala 3 scripts #1466

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

Merged
merged 1 commit into from
Aug 11, 2021

Conversation

SethTisue
Copy link
Member

@SethTisue SethTisue commented Aug 11, 2021

thanks to scala/scala3#13081, and using the stuff I worked out at coursier/coursier#2058 (comment)

@SethTisue SethTisue merged commit 05741ea into scala:2.12.x Aug 11, 2021
@SethTisue SethTisue deleted the no-sbt-scripts branch August 11, 2021 05:04
@SethTisue
Copy link
Member Author

SethTisue commented Aug 11, 2021

note that for now, the .scala file remains separate from the shell script that runs it. it would be nice if we only needed one file instead of two.

possible ways to get there:

  • use some shell magic to have both parts in the same file and split the Scala part off at runtime for passing to the coursier invocation
  • switch to Ammonite
  • wait for the Standalone Scala effort to bear fruit

but meh, in the community build context this is already pretty satisfying. in other contexts the two-files thing would be more annoying, but here I don't really mind

@SethTisue
Copy link
Member Author

small fixup to make this work on our Jenkins: cffdd5e

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

Successfully merging this pull request may close these issues.

1 participant