Target that runs all the time #385
Unanswered
victorhurdugaci
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I would in fact recommend using |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
What is the recommended way to run a target or function before any target?
The issue I'm trying to solve is that we have some code that needs to run before all targets. I was thinking about
init
but that sounds too hacky and unpredictable... Requiring each target to depend on a common target is also error-prone because one might forget it... Is there an equivalent ofTestMain
?Cheers
Beta Was this translation helpful? Give feedback.
All reactions