Skip to content
Discussion options

You must be logged in to vote

I replied to your stackoverflow comment: https://stackoverflow.com/questions/79016161/how-can-i-generate-a-file-with-the-time-of-bazel-build-and-include-it-in-build-o/79019453?noredirect=1#comment140539857_79019453

The first thing that comes to mind is if you can delete the file that the genrule outputs (gen_dyna_ts.h), then bazel will rerun the genrule with the updated time.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@furyNerd
Comment options

Answer selected by furyNerd
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