o

mill.main

RunScript

object RunScript

Custom version of ammonite.main.Scripts, letting us run the build.sc script directly without going through Ammonite's main-method/argument-parsing subsystem

Annotations
@Scaladoc()
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RunScript
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type TaskName = 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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def evaluate(evaluator: Evaluator, targets: api.Strict.Agg[Task[Any]]): (Seq[api.PathRef], Either[String, Seq[(Any, Option[Value])]])
  9. def evaluateNamed(evaluator: Evaluator, targets: api.Strict.Agg[Task[Any]]): (Seq[api.PathRef], Either[String, Seq[(Any, Option[(TaskName, Value)])]])

    returns

    (watched-paths, Either[err-msg, Seq[(task-result, Option[(task-name, task-return-as-json)])]])

    Annotations
    @Scaladoc()
  10. def evaluateRootModule(wd: Path, path: Path, interp: Interpreter, log: Logger): Res[BaseModule]
  11. def evaluateTasks[T](evaluator: Evaluator, scriptArgs: Seq[String], selectMode: SelectMode): Either[String, (Seq[api.PathRef], Either[String, Seq[(Any, Option[Value])]])]
  12. def evaluateTasksNamed[T](evaluator: Evaluator, scriptArgs: Seq[String], selectMode: SelectMode): Either[String, (Seq[api.PathRef], Either[String, Seq[(Any, Option[(TaskName, Value)])]])]
  13. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. def prepareResolve[T](evaluator: Evaluator, scopedSel: Option[Segments], sel: Segments): Either[String, (BaseModule, Seq[List[String]])]
  21. def resolveRootModule[T](evaluator: Evaluator, scopedSel: Option[Segments]): Either[String, BaseModule]
  22. def resolveTasks[T, R](resolver: Resolve[R], evaluator: Evaluator, scriptArgs: Seq[String], selectMode: SelectMode)(implicit arg0: ClassTag[R]): Either[String, List[R]]
  23. def runScript(home: Path, wd: Path, path: Path, instantiateInterpreter: => Either[(Failing, Seq[(Watchable, Long)]), Interpreter], scriptArgs: Seq[String], stateCache: Option[EvaluatorState], log: PrintLogger, env: Map[String, String], keepGoing: Boolean, systemProperties: Map[String, String], threadCount: Option[Int], initialSystemProperties: Map[String, String]): (Res[(Evaluator, Seq[api.PathRef], Either[String, Seq[Value]])], Seq[(Watchable, Long)])
  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(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  29. def watchedSigUnchanged(sig: Seq[(Watchable, Long)]): Boolean

Deprecated Value Members

  1. def evaluateTasks[T](evaluator: Evaluator, scriptArgs: Seq[String], multiSelect: Boolean): Either[String, (Seq[api.PathRef], Either[String, Seq[(Any, Option[Value])]])]
    Annotations
    @deprecated
    Deprecated

    (Since version mill after 0.10.0-M3) Use evaluateTasks[T](Evaluator, Seq[String], SelectMode) instead

  2. def resolveTasks[T, R](resolver: Resolve[R], evaluator: Evaluator, scriptArgs: Seq[String], multiSelect: Boolean)(implicit arg0: ClassTag[R]): Either[String, List[R]]
    Annotations
    @deprecated
    Deprecated

    (Since version mill after 0.10.0-M3) Use resolveTasks[T, R](Resolve[R], Evaluator, Seq[String], SelectMode) instead

Inherited from AnyRef

Inherited from Any

Ungrouped