1
0
mirror of https://github.com/go-task/task.git synced 2025-08-10 22:42:19 +02:00

Consider task up-to-date on equal timestamps

Fixes issue #48 by considering a task up-to-date if the newest
file from sources and the oldest file from generates has
exactly the same time-stamp.
This commit is contained in:
Sindre Røkenes Myren
2017-07-12 15:19:22 +02:00
committed by Sindre Røkenes Myren
parent 86a23849e0
commit 769e25f080
2 changed files with 1 additions and 5 deletions

View File

@@ -27,8 +27,5 @@ sub/src.txt:
cmds:
- mkdir -p sub
- echo "hello world" > sub/src.txt
# Sleep to avoid time-stamp issue. Some filesystems, E.g. HFS+ for Mac OS,
# only support one second precision on file timestamps.
- sleep 1
status:
- test -f sub/src.txt