tldr/pages/common/bazel.md

29 lines
473 B
Markdown

# bazel
> Open-source build and test tool similar to Make, Maven, and Gradle.
> More information: <https://bazel.build/reference/command-line-reference>.
- Build the specified target in the workspace:
`bazel build {{target}}`
- Remove output files and stop the server if running:
`bazel clean`
- Stop the bazel server:
`bazel shutdown`
- Display runtime info about the bazel server:
`bazel info`
- Display help:
`bazel help`
- Display version:
`bazel version`