HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

bazel — Open-source build and test tool similar to Make, Maven, and Gradle. More information: <https://bazel

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandbuildbazelsourceandcliopentest

Problem

How to use the bazel command: Open-source build and test tool similar to Make, Maven, and Gradle. More information: <https://bazel.build/reference/command-line-reference>.

Solution

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

Code Snippets

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

Context

tldr-pages: common/bazel

Revisions (0)

No revisions yet.