scala-cli icon indicating copy to clipboard operation
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!)

Results 417 scala-cli issues
Sort by recently updated
recently updated
newest added

``` $> cat T.scala class A { def main(): Unit = println(1) } $> scala-cli T.scala Compiling project (Scala 3.7.3, JVM (25)) Compiled project (Scala 3.7.3, JVM (25)) [error] No...

missing feature
jvm

Fixes #3590 Fixes #3026 Given `smth.sc` like this ```scala //> using scala 3 2.13 2.12 println("Hello") ``` Before these changes, running with `--cross` would compile against all cross versions, but...

I can't tell, if it's just the documentation or the whole feature, but the shown generated Mill projects looks outdated. The page: https://scala-cli.virtuslab.org/docs/commands/export/ A screenshot: > The following issue are...

export
Mill

Support Javap otherwise, I have to ``` scala-cli compile X.java -p ``` and then ``` javap -c .....very long path ....class ```

enhancement
Extra commands

**Version(s)** 1.9.1 **Describe the bug** Selecting a JVM does not set its LD_LIBRARY_PATH. Therefore, shared libraries provided by the JVM can not be loaded. **To Reproduce** Assume I want to...

bug
GraalVM

**Version(s)** 1.5.4 **Describe the bug** We have a scala-cli app that is packaged and used as docker image. We are using a proxy(Nexus) for the docker registry where the images...

bug
package command
docker

**Version(s)** 1.9.0 **Describe the bug** It appears service loaders are not discovered when packaging a scala native project **To Reproduce** inspired from https://github.com/lbialy/hms ```scala //> using dep io.github.cquiroz::scala-java-time::2.6.0 //> using...

Scala Native
missing feature

**Version(s)** Scala CLI version: 1.8.4 Scala version (default): 3.7.1 **To Reproduce** Having a file `script.sc`: ```scala //> using scala 3.3.6 def helloMessage(names: Seq[String]) = names match case Nil => "Hello!"...

bug
cannot reproduce
scripting

**Is your feature request related to a problem? Please describe.** Sometimes you just want to publish to `~/.m2`. Most JVM build tools provide this, sbt/mill included. **Describe the solution you'd...

enhancement
publish command
mvn