scala-cli
scala-cli copied to clipboard
Scala CLI is a command-line tool to interact with the Scala language. It lets you compile, run, test, and package your Scala code (and more!)
**Version(s)** 0.2.1 **Describe the bug** Flyway is a SQL migration tool that is capable of loading migrations from classpath resources. This feature is used when delivering application that has a...
It would be handy if `scala-cli compile --server=false` supported [`-J` options](https://scala-cli.virtuslab.org/docs/reference/cli-options/#--java-opt), they would be passed to the JVM running the compiler. Use case is opening a debugger port (`scala-cli compile...
```scala // macro.scala import scala.quoted.* inline def showMeTheMoney = ${showMeTheMoneyImpl()} def showMeTheMoneyImpl()(using q: Quotes) = q.reflect.report.info("Here's the money") Expr(1) ``` ```scala // test.scala @main def hello = showMeTheMoney ``` ```...
**Version(s)** d4618124e4dd872cc8a1902b8a9504bcb54dc4a3 **Describe the bug** It is currently not possible to build Scala CLI with `3.5.0-RC1-bin-20240415-c47138c-NIGHTLY` passed via the `scala.version.internal` and `scala.version.user` props, as per https://github.com/VirtusLab/scala-cli/blob/main/DEV.md#overriding-scala-versions-in-scala-cli-builds **To Reproduce** ``` ./mill...
**Version(s)** Scala CLI version: 1.2.2 **Describe the bug** Exiting a repl session with CTRL-C or :exit crashes after re-compiling changed sources **To Reproduce** ``` mkdir test cd test echo '@main...
**Version(s)** 1.0.1 **Describe the bug** Scala CLI prints errors from the previous compilation **To Reproduce** ``` $ cat Hello.scala //> using scala 3.3.0 object Main extends App { val msg:...
**Version(s)** Scala CLI version: 1.0.4 Scala version (default): 3.3.0 **Describe the bug** Concrete Scala CLI directives in ScalaDoc or block comment yields `Unrecognized directive` error. There is no issue with...
**Version(s)** 1.3.1 **Describe the bug** Running a Scala.js script fails with a linking error: ``` [1] jason@goodness> ./repro.sc Compiling project (Scala 2.13.14, Scala.js 1.16.0) Compiled project (Scala 2.13.14, Scala.js 1.16.0)...
**Version(s)** 1.4.0 and latest main **Describe the bug** Scaladoc produces errors on scala.js code: ``` Compiling project (Scala 3.4.2, Scala.js 1.16.0) Compiled project (Scala 3.4.2, Scala.js 1.16.0) -- Error: test.scala:5:2...
Export scala-cli project to Maven build with simple pom.xml. Currently, implementation is done only for java projects