mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
566 B
Plaintext
34 lines
566 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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`
|