Home | History | Annotate | Download | only in bazel

Lines Matching refs:bazel

3 # Copyright 2015 The Bazel Authors. All rights reserved.
18 # Bash completion of Bazel commands.
21 # derived from the bazel executable built in the same client; the expansion is
22 # written to bazel-complete.bash.
25 # - bazel prefix options (e.g. --host_jvm_args)
34 # Bazel, but that's ok. (It's impossible for us to reliably know what
39 # bazel build //scripts:bash_completion instead.
44 # If true, Bazel query is used for autocompletion. This is more
46 # BUILD files. But it can be slower, especially if the Bazel server
52 # If true, Bazel run allows autocompletion for test targets. This is convenient
59 # Bazel command
60 : ${BAZEL:=bazel}
66 # when using 'bazel query'.
119 # computing the COMP_WORDS array. We need this here because Bazel options are of
152 # Prints the set of options for a given Bazel command, e.g. "build".
162 # Prints the completion pattern for a given Bazel command, e.g. "build".
175 # bazel rule kind and <prefix> is the prefix of the target name.
212 # If $BAZEL_COMPLETION_USE_QUERY is true, 'bazel query' is used
213 # instead, with the actual Bazel package path;
215 # actual Bazel value is likely to be more accurate.
226 result=$(${BAZEL} --output_base=/tmp/${BAZEL}-completion-$USER query \
259 # a bazel package, the completion offers "pkg:" so you can expand
267 [ -L "$dir" ] && continue # skip symlinks (e.g. bazel-bin)
343 # - info-key: an info key as listed by `bazel help info-keys`
449 # Some users have aliases such as bt="bazel test" or bb="bazel build", this
464 # default completion for bazel
465 complete -F _bazel__complete -o nospace "${BAZEL}"
474 bazel-bin
475 bazel-genfiles
476 bazel-testlogs