Skip to content

Commit

Permalink
make bsp build on TestModule success instead of fail
Browse files Browse the repository at this point in the history
  • Loading branch information
chikei committed Dec 11, 2024
1 parent cdee33e commit 40b03a4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bsp/worker/src/mill/bsp/worker/MillBuildServer.scala
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ private class MillBuildServer(
case (m: SemanticDbJavaModule, ev) if clientWantsSemanticDb =>
(m.compiledClassesAndSemanticDbFiles, ev)
case (m: JavaModule, ev) => (m.compile, ev)
case (m: TestModule, ev) => (Task.Anon{()}, ev)
case (m, ev) => Task.Anon {
Result.Failure(
s"Don't know how to compile non-Java target ${m.bspBuildTarget.displayName}"
Expand Down

0 comments on commit 40b03a4

Please sign in to comment.