diff options
author | Tobias Roeser <le.petit.fou@web.de> | 2018-12-19 16:46:07 +0100 |
---|---|---|
committer | Tobias Roeser <le.petit.fou@web.de> | 2018-12-21 20:19:29 +0100 |
commit | 54bb990738fe896e29a652f2e84c3c8a2a8d865b (patch) | |
tree | 89e1612669e2c14c71fe0f351263517a468bb961 /main/api/src | |
parent | 868ac2f62a8deded2d3a4aec8fde3431ddb798ec (diff) | |
download | mill-54bb990738fe896e29a652f2e84c3c8a2a8d865b.tar.gz mill-54bb990738fe896e29a652f2e84c3c8a2a8d865b.tar.bz2 mill-54bb990738fe896e29a652f2e84c3c8a2a8d865b.zip |
Introduced new failFast parameter to Evaluator with default `true`
Added Aborted result type.
Diffstat (limited to 'main/api/src')
-rw-r--r-- | main/api/src/mill/api/Result.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/main/api/src/mill/api/Result.scala b/main/api/src/mill/api/Result.scala index f6579abd..3222a8f9 100644 --- a/main/api/src/mill/api/Result.scala +++ b/main/api/src/mill/api/Result.scala @@ -33,6 +33,13 @@ object Result { } /** + * A task execution was skipped/aborted because of earlier (maybe unrelated) tasks failed and the evaluation was in fail-fast mode. + */ + case object Aborted extends Result[Nothing] { + def map[V](f: Nothing => V) = this + } + + /** * A failed task execution. * @tparam T The result type of the computed task. */ |