t

mill.scalalib

RunModule

trait RunModule extends BaseClass with WithZincWorker

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RunModule
  2. WithZincWorker
  3. Module
  4. BaseClass
  5. Cacher
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. object millInternal extends Internal

    Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill

    Miscellaneous machinery around traversing & querying the build hierarchy, that should not be needed by normal users of Mill

    Definition Classes
    Module
    Annotations
    @internal()
  2. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  3. final def ##: Int
    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def allLocalMainClasses: T[Seq[String]]
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def cachedTarget[T](t: => T)(implicit c: Enclosing): T
    Attributes
    protected[this]
    Definition Classes
    Cacher
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  9. def doRunBackground(taskDest: Path, runClasspath: Seq[api.PathRef], zwBackgroundWrapperClasspath: Agg[api.PathRef], forkArgs: Seq[String], forkEnv: Map[String, String], finalMainClass: String, forkWorkingDir: Path, runUseArgsFile: Boolean, backgroundOutputs: Option[(ProcessOutput, ProcessOutput)])(args: String*): (Ctx) => Result[Unit]
    Attributes
    protected
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalMainClass: T[String]
  13. def finalMainClassOpt: T[Either[String, String]]
  14. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  15. def forkArgs: T[Seq[String]]

    Any command-line parameters you want to pass to the forked JVM.

  16. def forkEnv: T[Map[String, String]]

    Any environment variables you want to pass to the forked JVM.

  17. def forkWorkingDir: T[Path]
  18. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def localRunClasspath: T[Seq[api.PathRef]]

    The elements of the run classpath which are local to this module.

    The elements of the run classpath which are local to this module. This is typically the output of a compilation step and bundles runtime resources.

  22. def mainClass: T[Option[String]]

    Allows you to specify an explicit main class to use for the run command.

    Allows you to specify an explicit main class to use for the run command. If none is specified, the classpath is searched for an appropriate main class to use if one exists.

  23. implicit def millModuleBasePath: BasePath
    Definition Classes
    Module
  24. def millModuleDirectChildren: Seq[define.Module]
    Definition Classes
    Module
  25. implicit def millModuleExternal: External
    Definition Classes
    Module
  26. implicit def millModuleSegments: Segments
    Definition Classes
    Module
  27. implicit def millModuleShared: Foreign
    Definition Classes
    Module
  28. def millOuterCtx: Ctx
    Definition Classes
    BaseClass
  29. def millSourcePath: Path
    Definition Classes
    Module
  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. def run(args: define.Task[Args] = T.task(Args())): define.Command[Unit]

    Runs this module's code in a subprocess and waits for it to finish

  34. def runBackgroundLogToConsole: Boolean

    If true, stdout and stderr of the process executed by runBackground or runMainBackground is sent to mill's stdout/stderr (which usualy flow to the console).

    If true, stdout and stderr of the process executed by runBackground or runMainBackground is sent to mill's stdout/stderr (which usualy flow to the console).

    If false, output will be directed to files stdout.log and stderr.log in runBackground.dest (or runMainBackground.dest)

  35. def runBackgroundTask(mainClass: define.Task[String], args: define.Task[Args] = T.task(Args())): define.Task[Unit]
  36. def runClasspath: T[Seq[api.PathRef]]

    All classfiles and resources including upstream modules and dependencies necessary to run this module's code.

  37. def runForkedTask(mainClass: define.Task[String], args: define.Task[Args] = T.task(Args())): define.Task[Unit]

    Runs this module's code in a subprocess and waits for it to finish

  38. def runLocal(args: define.Task[Args] = T.task(Args())): define.Command[Unit]

    Runs this module's code in-process within an isolated classloader.

    Runs this module's code in-process within an isolated classloader. This is faster than run, but in exchange you have less isolation between runs since the code can dirty the parent Mill process and potentially leave it in a bad state.

  39. def runLocalTask(mainClass: define.Task[String], args: define.Task[Args] = T.task(Args())): define.Task[Unit]
  40. def runMain(mainClass: String, args: String*): define.Command[Unit]

    Same as run, but lets you specify a main class to run

  41. def runMainBackground(mainClass: String, args: String*): define.Command[Unit]

    Same as runBackground, but lets you specify a main class to run

  42. def runMainLocal(mainClass: String, args: String*): define.Command[Unit]

    Same as runLocal, but lets you specify a main class to run

  43. def runUseArgsFile: T[Boolean]

    Control whether run*-targets should use an args file to pass command line args, if possible.

  44. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  45. def toString(): String
    Definition Classes
    Module → AnyRef → Any
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  49. def zincWorker: ModuleRef[ZincWorkerModule]
    Definition Classes
    WithZincWorker

Inherited from WithZincWorker

Inherited from define.Module

Inherited from BaseClass

Inherited from Cacher

Inherited from AnyRef

Inherited from Any

Ungrouped