bazel [<startup options>] <command> [<args>]
Options can be passed to Bazel in different ways.
build |
Builds the specified targets. |
test |
Builds and runs the specified test targets. |
--[no]batch default: "false"If set, Bazel will be run as just a client process without a server.
--connect_timeout_secs=<an integer> default: "30"The amount of time the client waits for each attempt to connect to the server
--bazelrc=<path> multiple uses are accumulatedThe location of the user .bazelrc file.
Tags:
changes_inputs
--host_jvm_debugConvenience option to add some additional JVM startup flags.
Expands to:
--host_jvm_args=-agentlib:jdwp=transport=dt_socket,server=y,address=5005
--digest_function=<hash function> default: see descriptionThe hash function to use when computing file digests.
Tags:
loses_incremental_state
--io_nice_level={-1,0,1,2,3,4,5,6,7} default: "-1"Only on Linux; set a level from 0-7 for best-effort IO scheduling.
--[no]verbose default: "false"If true, enable verbose output.
Tags:
affects_outputs
Inherits all options from common_options.
--jobs=<an integer> [-j] default: "auto"The number of concurrent jobs to run. Takes an integer, or "auto".
Tags:
execution
loses_incremental_state |
This option affects the incremental state. |
affects_outputs |
This option affects the outputs. |
deprecated |
This option is deprecated. |