Closed calfzhou closed 10 years ago
(with Drake v0.1.6)
For example there is a simple Drake workflow:
b <- a cat $INPUT > $OUTPUT echo done >> $OUTPUT %t, c <- b cat $INPUT > $OUTPUT echo done again >> $OUTPUT
And I have already have the latest files a, b and c.
Now if I run drake with target c, it will check c's timestamp and will actually do nothing:
c
$ drake --preview c Nothing to do.
But if I run drake with target %t, it will NOT check timestamp but force re-run matched steps:
%t
$ drake --preview %t The following steps will be run, in order: 1: %t, c <- b [via tag]
I suggest that when specifying target by tags, timestamp should also be checked to avoid useless run.
Duplicate of #73?
Thanks! I didn't find this existing issue. I'll close my issue.
Hope that #73 could be fixed ASAP.
(with Drake v0.1.6)
For example there is a simple Drake workflow:
And I have already have the latest files a, b and c.
Now if I run drake with target
c
, it will check c's timestamp and will actually do nothing:But if I run drake with target
%t
, it will NOT check timestamp but force re-run matched steps:I suggest that when specifying target by tags, timestamp should also be checked to avoid useless run.