This directory contains tooling scripts and configurations for the submitqueue repository.
The tool/bazel script is a Python-based Bazelisk implementation that:
- Reads
.bazelversionfrom the repository root - Automatically downloads and caches the correct Bazel version
- Delegates all commands to that version
# Use the wrapper directly
./tool/bazel build //...
# Or add tool/ to your PATH (via .envrc with direnv)
bazel build //...The Bazel version is controlled by .bazelversion at the repository root. Update that file to change the Bazel version used by the wrapper.
When adding new tools to this directory:
- Create the script in
tool/ - Make it executable:
chmod +x tool/<script-name> - Add it to
tool/BUILD.bazelif it needs to be referenced by Bazel rules - Document it in this README
This directory is added to PATH via .envrc (for direnv users), allowing you to run bazel commands without prefixing with ./tool/.
