Merge commit 'f76d527ee397d84ad0cd1dec1791e83c950430d7' into thingdoer

This commit is contained in:
Tom Wilkie
2016-05-19 12:36:22 +01:00
2 changed files with 5 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
- name: one
command: echo one
command: echo $PATH; which touch; foo
- name: two
after: [one]
command: echo two

View File

@@ -37,10 +37,9 @@ func (t *thing) run() {
} else {
log.Printf(">>> %s finished with success after %0.1f secs\n", t.Name, duration)
}
if err != nil {
log.Print(out.String())
log.Println()
}
log.Print(out.String())
log.Println()
t.success = err == nil
}
@@ -122,7 +121,7 @@ func main() {
break
}
// remove it as a dependancy from
// remove it as a dependency from
// other things
for _, t := range things {
t.After = remove(thing.Name, t.After)