Created attachment 229001 [details]
scala-cli diff to add initial support
scala-cli is a new project that recently had its first stable release: v0.0.7. The team that is behind this tool is the team that is maintaining the Scala 3 compiler, and the idea behind this tool is to sort of be a testing bed to test out features to either add to the official Scala cli, or this will simply become the official Scala cli. For now it's a separate tool.
You can do all sort of things with this like run a script, compile a file, package a file into an executable, or even a fat jar. It's build-tool-like. You can read more about the project on the website or check it out on their GitHub page.
Note atm this tool is extremely new, as in first announced this past week. For anyone wanting to try this out, for now you'll need to specific TCP for Bloop. So for example if you have a MyFile.scala and you'd like to run/compile it you'll need to do:
scala-cli --bloop-bsp-protocol tcp compile MyFile.scala
There is a pr to default this for FreeBSD.
For this port, you should do the same thing with DIST_SUBDIR as recommended on bug #259233.
Created attachment 229078 [details]
Updated diff to add scala-cli initial support
(In reply to Robert Clausecker from comment #1)
Done, thanks again for the input!