- Notifications
You must be signed in to change notification settings - Fork4.3k
Pre and post build hook?#27183
-
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. |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment
-
You can set up a custom wrapper script in |
BetaWas this translation helpful?Give feedback.