18 Dec 2023 |
| fancy.1 changed their display name from fancy to fancy.1. | 00:35:28 |
jd557 | I think you can do something similar with cs 🤔 | 21:34:28 |
jd557 | https://get-coursier.io/docs/cli-launch | 21:34:55 |
jd557 | haha, ok, then ignore my advice 😅 | 21:35:27 |
19 Dec 2023 |
j_mie6 | Is there any way of doing cross-building with scala-cli where the sources can differ between targets | 12:26:22 |
j_mie6 | Something like the native/jvm folders in sbt | 12:26:40 |
velvetbaldmime | using target.platform I think | 12:28:24 |
velvetbaldmime | https://scala-cli.virtuslab.org/docs/reference/directives#platform-1 | 12:28:38 |
j_mie6 | A directive in the files? | 12:28:38 |
velvetbaldmime | yep | 12:28:41 |
j_mie6 | Ahhh cool, thanks | 12:29:08 |
j_mie6 | Is there any reason why test doesn't actually run any tests but metals gives me green run buttons on them and I can run them that way just fine? | 12:48:11 |
j_mie6 | * Is there any reason why test doesn't actually run any tests but metals gives me green run buttons on them in vscode and I can run them that way just fine? | 12:48:25 |
j_mie6 | The test command just seems to be compiling the test project (properly, I'll add), but then doesn't decide to execute anything | 12:57:06 |
j_mie6 | I'll... Try... Not sure how to minimise this exactly | 13:35:30 |
j_mie6 | Also, when setting the packageType to native in a build where using platform jvm native still requires passing --native on the command line (it tries to package with JVM otherwise and fails to find native); I assume this is unintentional and deserves an issue? | 13:37:05 |
j_mie6 | So it looks like the debug console for the metals green button shows the output of the tests just fine, but the test results panel does not | 13:43:34 |
j_mie6 | If I run scala-cli test . it compiles but doesn't run anything | 13:49:58 |
j_mie6 | Which is why it's weird, the green button is doing more | 13:50:17 |
j_mie6 | -v -v -v didn't show anything interesting | 13:50:29 |
j_mie6 | Scala test anyflatspec is what the classes are using | 13:51:01 |
j_mie6 | Is there anything obvious I would be missing? I have src/main/scala/pkg and src/test/scala/pkg folders alongside my project.scala | 13:53:31 |
j_mie6 | Project scala specifies the testdep on scalatest and also scalacheck (via scalatestplus) | 13:54:05 |
j_mie6 | Yeah, I've definitely had it work before | 13:58:52 |
j_mie6 | Just... Not here | 13:58:55 |
j_mie6 | This is a project I just ported over from sbt | 13:59:11 |
j_mie6 | Nothing, just compiling, compiled, then command ends | 13:59:25 |
j_mie6 | I can give the -v -v -v log if that helps | 14:00:59 |
j_mie6 | I can put it in an issue | 14:01:08 |
j_mie6 | Thanks | 14:01:29 |