Bazel Operations: Difference between revisions
Jump to navigation
Jump to search
(→run) |
|||
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
- Command Line Reference https://bazel.build/reference/command-line-reference
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.