c

mill.main

MainRunner

class MainRunner extends ammonite.MainRunner

Customized version of ammonite.MainRunner, allowing us to run Mill build.sc scripts with mill-specific tweaks such as a custom scriptCodeWrapper or with a persistent evaluator between runs.

Linear Supertypes
ammonite.MainRunner, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MainRunner
  2. MainRunner
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MainRunner(config: Config, disableTicker: Boolean, outprintStream: PrintStream, errPrintStream: PrintStream, stdIn: InputStream, stateCache0: Option[State] = None, env: Map[String, String], setIdle: (Boolean) ⇒ Unit, debugLog: Boolean, keepGoing: Boolean, systemProperties: Map[String, String])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate() @throws( ... )
  6. val colors: Colors
    Definition Classes
    MainRunner
  7. val config: Config
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  11. def handleWatchRes[T](res: Res[T], printing: Boolean): Boolean
    Definition Classes
    MainRunner → MainRunner
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. def initMain(isRepl: Boolean): Main
    Definition Classes
    MainRunner → MainRunner
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def printError(s: String): Unit
    Definition Classes
    MainRunner
  19. def printInfo(s: String): Unit
    Definition Classes
    MainRunner
  20. def runCode(code: String): Boolean
    Definition Classes
    MainRunner
  21. def runRepl(): Unit
    Definition Classes
    MainRunner
  22. def runScript(scriptPath: Path, scriptArgs: List[String]): Boolean
    Definition Classes
    MainRunner → MainRunner
  23. var stateCache: Option[State]
  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  29. def watchAndWait(watched: Seq[(Path, Long)]): Unit
    Definition Classes
    MainRunner → MainRunner
  30. final def watchLoop[T](isRepl: Boolean, printing: Boolean, run: (Main) ⇒ (Res[T], Seq[(Path, Long)])): Boolean
    Definition Classes
    MainRunner
    Annotations
    @tailrec()
  31. final def watchLoop2[T](isRepl: Boolean, printing: Boolean, run: (Main) ⇒ (Res[T], () ⇒ Seq[(Path, Long)])): Boolean

    Custom version of watchLoop that lets us generate the watched-file signature only on demand, so if we don't have config.watch enabled we do not pay the cost of generating it

    Custom version of watchLoop that lets us generate the watched-file signature only on demand, so if we don't have config.watch enabled we do not pay the cost of generating it

    Annotations
    @tailrec()
  32. object CustomCodeWrapper extends CodeWrapper

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from ammonite.MainRunner

Inherited from AnyRef

Inherited from Any

Ungrouped