You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are generating some code with a hook (generating protobuf files), which works great. The only downside is that we also need to run hatch build before we are able to run tests. I am curious if there is a way to bind a hook to the initial setup phase, like when resolving dependencies or creating some kind of dependency on the hook.
Maybe my approach is not the right one, and there is a different approach we should use to generate those files upfront. If so please let me know.
Disclaimer I am not as familiar with python as i am a Java developer, and only used to maven and gradle.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hey,
We are generating some code with a hook (generating protobuf files), which works great. The only downside is that we also need to run
hatch build
before we are able to run tests. I am curious if there is a way to bind a hook to the initial setup phase, like when resolving dependencies or creating some kind of dependency on the hook.Maybe my approach is not the right one, and there is a different approach we should use to generate those files upfront. If so please let me know.
Disclaimer I am not as familiar with python as i am a Java developer, and only used to maven and gradle.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions