-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Use a file as make evidence for fomantic instead of a directory #10032
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #10032 +/- ##
==========================================
+ Coverage 43.44% 43.45% +0.01%
==========================================
Files 566 566
Lines 78987 78987
==========================================
+ Hits 34317 34327 +10
+ Misses 40430 40423 -7
+ Partials 4240 4237 -3
Continue to review full report at Codecov.
|
Hmm... I went for hashes in the bindata because the timestamps of the directories etc may not increase when you git checkout branch. I don't know enough about make's dependency process - does it cope with that? |
I don't think |
@zeripath Make could trigger any process you want and make a dependency out of it, as long as there's a file timestamp involved. For example:
generates a list of go files we use as dependencies; any of them change, make knows that the dependent rules need to be run. The reason I didn't suggest you this path is because The weak point of make is when you remove a file that was a dependency: make won't know about that. It's simply something that it's not in the list of dependencies anymore, so it won't trigger the corresponding rules (e.g. should we remove some Make is all about: "Is any of these files newer than the target? Run the recipe!" |
Maybe just add a |
Co-Authored-By: silverwind <[email protected]>
Cleaner indeed. Done. |
make lg-tm work |
This PR follows #9999 (comment) by using a file as fomantic build evidence instead of the fomantic directory.
I've also added
web_src/fomantic_site_globals/*
as dependencies, because they're input files as well.