summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-07-21 21:05:37 +0800
committerLi Haoyi <haoyi.sg@gmail.com>2018-07-21 21:33:19 +0800
commit57f4968e8c37c857e4c8d6cac80dca739186754d (patch)
treeba15196f038511169bf0062405506e08219f368e /core
parent5c0016ebbda6ec74db2bdde92a6afca42fe6d076 (diff)
downloadmill-57f4968e8c37c857e4c8d6cac80dca739186754d.tar.gz
mill-57f4968e8c37c857e4c8d6cac80dca739186754d.tar.bz2
mill-57f4968e8c37c857e4c8d6cac80dca739186754d.zip
add JavaModule#runBackground, to allow a task to kick off processes to run in the background that only die when the task is re-run
Diffstat (limited to 'core')
-rw-r--r--core/src/mill/define/Task.scala2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/src/mill/define/Task.scala b/core/src/mill/define/Task.scala
index 63de11f6..d5f8680e 100644
--- a/core/src/mill/define/Task.scala
+++ b/core/src/mill/define/Task.scala
@@ -39,7 +39,6 @@ abstract class Task[+T] extends Task.Ops[T] with Applyable[Task, T]{
def asTarget: Option[Target[T]] = None
def asCommand: Option[Command[T]] = None
- def asPersistent: Option[Persistent[T]] = None
def asWorker: Option[Worker[T]] = None
def self = this
}
@@ -293,7 +292,6 @@ class Persistent[+T](t: Task[T],
extends TargetImpl[T](t, ctx0, readWrite) {
override def flushDest = false
- override def asPersistent = Some(this)
}
class Input[T](t: Task[T],
ctx0: mill.define.Ctx,