diff options
-rw-r--r-- | build.sbt | 6 | ||||
-rw-r--r-- | readme.md | 3 |
2 files changed, 7 insertions, 2 deletions
@@ -135,7 +135,11 @@ lazy val bin = project .dependsOn(scalaplugin) .settings( sharedSettings, - mainClass in (Compile, run) := Some("mill.Main"), + fork := true, + connectInput in (Test, run) := true, + outputStrategy in (Test, run) := Some(StdoutOutput), + mainClass in (Test, run) := Some("mill.Main"), + baseDirectory in (Test, run) := (baseDirectory in (Compile, run)).value / "..", assemblyOption in assembly := { (assemblyOption in assembly).value.copy( prependShellScript = Some( @@ -41,7 +41,8 @@ file in the repository root, you can skip the assembly process and directly run it via: ```bash -sbt "~bin/run Core.test" +sbt "~bin/test:run Core.test" +sbt "~bin/test:run --repl" ``` Lastly, you can generate IntelliJ Scala project files using Mill via |