43 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
0
answers
42
views
mill debugger intellij in Xiangshan project
I'm trying to debug the XiangShan RISC-V SoC project using IntelliJ IDEA with Mill and BSP.
I've followed all recommended steps (scala, the mill build tool, and the IntelliJ debugger) but breakpoints ...
0
votes
0
answers
55
views
Specifying ScalaTest options with Mill
I really want to see full stack traces instead of the default cut-off ones when using ScalaTest, as explained here.
Yet I'm using mill 0.11.7.
Presumably you can specify ScalaTest arguments by passing ...
0
votes
1
answer
38
views
Using Mill to publish JVM/JS library with platform-specific code
I want to publish (at least locally) a JVM/JS cross-platform library using Mill. I have that much working with build file shown below.
The part that has me stumped is that I'd like to include a ...
0
votes
1
answer
118
views
Using scoverage with scala3 and mill
TL;DR -- How do I configure the mill-contrib-scoverage plugin to work with Scala3?
Details:
Using the instructions at the Mill contributor's page, I get the following error when running the scoverage....
2
votes
2
answers
165
views
How to toggle mill to build with debug options or not -- from the command line
Executing mill run with the following build file will start the program, pause for a debugger to connect, and then continue under the debugger's control.
import mill._, scalalib._
object foo extends ...
1
vote
2
answers
370
views
scala, the mill build tool, and the IntelliJ debugger
I'm writing Scala code and using the Mill build tool. I'd like to be able to use IntelliJ's debugger to debug my code but have not been able to convince it to stop at breakpoints.
I have set up a ...
2
votes
1
answer
291
views
VSCode / Metals / Mill / ScalaTest: AnyFlatSpec specs are not picked up
I am using AnyFlatSpec for my tests:
class FooTest extends AnyFlatSpec with Matchers {
behavior of "The Foo"
it should "do bar" in { ... }
it should "do moo" in { ...
1
vote
0
answers
76
views
How do I run the Intellij debugger on a unit test when using mill build tool?
I would like to step through a unit test in a debugger. I'm using scala, mill build tool, Intellij.
0
votes
1
answer
548
views
Rocketchip: make failing under /emulator and /vcs due to "mill: command not found"
Discussed in https://github.com/chipsalliance/rocket-chip/discussions/3492
Originally posted by AnuragMalwee September 20, 2023
Hi, I am building the rocket-chip project for the first time, and never ...
1
vote
1
answer
303
views
Mill: How can I build cross build for RootModule?
I have Mill project and currently built for Scala 3.
I'm preparing for cross build for Scala 2.13.
Currently I have this build.sc:
import mill._, scalalib._
import publish._
// qw is my project name
...
1
vote
1
answer
142
views
Mill: How to generate uberjar using publishVersion?
Mill can generate (Uber)jar by mill assembly. Generated file is located at out/assembly.dest/out.jar.
How can I customize output filename instead of out.jar? I'd like to use value of publishVersion (I'...
1
vote
2
answers
397
views
Are there any mill/scala-3/scala.js examples available?
Is there a guide or example somewhere for using mill build tool with scala-3 and scala.js? I saw that the same question had been asked, but implicitly for sbt, and the answer was essentially "it ...
0
votes
1
answer
473
views
Cannot load resource files using Scala / Mill
I cannot load resources in Scala, using Mill (0.10.5) as the build tool.
The minimal example is:
.
├── app
│ └── src
│ └── main
│ ├── resources
│ │ └── hello_world.txt
│ ...
0
votes
1
answer
236
views
Mill, Cask, and SBT
I am following this tutorial: https://www.lihaoyi.com/post/SimpleWebandApiServerswithScala.html. I get to the part where I run "./mill -w app.runBackground", and I receive the following ...
1
vote
1
answer
243
views
How to iterate all mill targets in build.sc, how to get target.dest from outside the target?
I would like to write a mill utility tool (maybe a function or Module inside build.sc) for summarizing and post processing results of various targets. Instead of hard coding all processed targets I ...