Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
voltagex_
· 6y ago · 0 comments
How do you make sure your makefile tasks are idempotent?
Comments
[–]
isaachier
6y ago
A simple way is to use output files to indicate if a command has been run.
Example:
git-setup.out: touch $@
[–]
shaklee3
6y ago
Drop "done" files indicating a large step is done.