diff --git a/src/plz/plz.go b/src/plz/plz.go index c164ce9c2..dd8517973 100644 --- a/src/plz/plz.go +++ b/src/plz/plz.go @@ -57,6 +57,11 @@ func Run(targets, preTargets []core.BuildLabel, state *core.BuildState, config * return } + if !task.Target.State().IsBuilt() { + state.TaskDone() + return + } + if state.NeedTests && task.Target.IsTest() && state.IsOriginalTarget(task.Target) { state.QueueTestTarget(task.Target) }