Bazel Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 20: Line 20:


Runs the specified target.
Runs the specified target.
===<tt>--script-path</tt>===
Write a shell script that invokes the target. In this way, the target is not run from bazel - the bazel lock is released and the executable is connected to the terminal's stdin.


=Options=
=Options=

Revision as of 00:09, 31 October 2023

External

Internal

Commands

build

clean

fetch

info

bazel info

run

bazel run --script_path=/Users/ovidiu/bin/something //a/something

Runs the specified target.

--script-path

Write a shell script that invokes the target. In this way, the target is not run from bazel - the bazel lock is released and the executable is connected to the terminal's stdin.

Options