aboutsummaryrefslogtreecommitdiffstats
path: root/worker.go
diff options
context:
space:
mode:
Diffstat (limited to 'worker.go')
-rw-r--r--worker.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/worker.go b/worker.go
index 7b8d723..b02c573 100644
--- a/worker.go
+++ b/worker.go
@@ -178,7 +178,7 @@ func (r runner) run(output string) error {
return err
}
-func (j Job) createRunners() []runner {
+func (j *Job) createRunners() []runner {
runners, _ := j.ex.createRunners(j.n, false)
return runners
}
@@ -192,7 +192,7 @@ func getTimestamp(filename string) int64 {
return st.ModTime().Unix()
}
-func (j Job) build() {
+func (j *Job) build() {
if j.n.IsPhony {
j.outputTs = -2 // trigger cmd even if all inputs don't exist.
} else {