Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
lefou committed Nov 7, 2024
1 parent ed926b1 commit fa9df88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions main/src/mill/main/MainModule.scala
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package mill.main

import mill.api.{Ctx, *}
import mill.define.{BaseModule0, Command, NamedTask, Segments, Target, Task, *}
import mill.api.{Ctx, _}
import mill.define.{BaseModule0, Command, NamedTask, Segments, Target, Task, _}
import mill.eval.{Evaluator, EvaluatorPaths, Terminal}
import mill.moduledefs.Scaladoc
import mill.resolve.SelectMode.Separated
Expand Down
3 changes: 2 additions & 1 deletion main/test/src/mill/main/MainModuleTests.scala
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ object MainModuleTests extends TestSuite {
/** Sub module */
object sub extends TaskModule {
override def defaultCommandName(): String = "hello"
def hello() = Task.Command{
def hello() = Task.Command {
println("hello")
}
def moduleDeps = Seq(subSub)

/** SubSub module */
object subSub extends Module
}
Expand Down

0 comments on commit fa9df88

Please sign in to comment.