Pre and post build hook? #27183
Unanswered
michaelfelixmurphy
asked this question in
Q&A
Replies: 1 comment
-
|
You can set up a custom wrapper script in |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Does Bazel provide any sort of hooks to run programs/commands before and after the entire build?
The compiler I'm using requires two things that I cannot figure out how to do in Bazel.
Before the entire build starts, I need to start a license server. That server should run during the entirety of the build. It's ok if the server runs in a sandbox (or not). [Then the build runs as normal: multiple sandboxes run in parallel, the compiler in each talks to the license server.] After the entire build, I need to shut down the license server (to release all the licenses).
I cannot figure out how to have Bazel do the first and last step.
Beta Was this translation helpful? Give feedback.
All reactions