tool/

directory
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2026 License: Apache-2.0

README

Tools Directory

This directory contains tooling scripts and configurations for the submitqueue repository.

Bazel Wrapper

The tool/bazel script is a Python-based Bazelisk implementation that:

  • Reads .bazelversion from the repository root
  • Automatically downloads and caches the correct Bazel version
  • Delegates all commands to that version
Usage
# Use the wrapper directly
./tool/bazel build //...

# Or add tool/ to your PATH (via .envrc with direnv)
bazel build //...
Version Management

The Bazel version is controlled by .bazelversion at the repository root. Update that file to change the Bazel version used by the wrapper.

Adding New Tools

When adding new tools to this directory:

  1. Create the script in tool/
  2. Make it executable: chmod +x tool/<script-name>
  3. Add it to tool/BUILD.bazel if it needs to be referenced by Bazel rules
  4. Document it in this README

Environment Setup

This directory is added to PATH via .envrc (for direnv users), allowing you to run bazel commands without prefixing with ./tool/.

Directories

Path Synopsis
linter
licenseheader command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL