[Bug 259417] [NEW PORT] dev/scala-cli: Scala cli tool to build/package/compile/run Scala code

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 24 Oct 2021 18:56:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259417

            Bug ID: 259417
           Summary: [NEW PORT] dev/scala-cli: Scala cli tool to
                    build/package/compile/run Scala code
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: chris@chris-kipp.io

Created attachment 229001
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=229001&action=edit
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.

https://github.com/VirtusLab/scala-cli/releases/tag/v0.0.7

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.

- https://scala-cli.virtuslab.org/
- https://github.com/VirtusLab/scala-cli

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.