Skip to content
Discussion options

You must be logged in to vote

add_depfiles adds one or more files to a set that will cause this set of batchcmds to be re-run if any of them have changed since the date set with set_depmtime
set_depmtime sets the time that the files added with add_depfiles should be compared against.

right

set_depcache does something, but I have no idea what.

set the depend file *.d path, it will use a tmpfile if we did not set it.

For some reason, add_depfile must be called after the runv or whatever that actually does the job (this surprised me).

batchcmds:runv(), batchcmds:mkdir() and batchcmds:cp() are just generate a command list, they will be called at the right time, but not now.

Only the os.runv/os.cp command will be exe…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@davidchisnall
Comment options

@waruqi
Comment options

Answer selected by davidchisnall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants