mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
bazel: Manually generate {bash,fish} completion
This commit is contained in:
parent
bf8d98672c
commit
90f82712b1
1 changed files with 9 additions and 5 deletions
|
@ -54,12 +54,16 @@ do_build() {
|
||||||
EMBED_LABEL=${version} \
|
EMBED_LABEL=${version} \
|
||||||
EXTRA_BAZEL_ARGS="$_bazel_opts" \
|
EXTRA_BAZEL_ARGS="$_bazel_opts" \
|
||||||
./compile.sh
|
./compile.sh
|
||||||
./output/bazel build //scripts:bash_completion
|
scripts/generate_bash_completion.sh \
|
||||||
./output/bazel build //scripts:fish_completion
|
--prepend=scripts/bazel-complete-header.bash \
|
||||||
./output/bazel shutdown
|
--prepend=scripts/bazel-complete-template.bash \
|
||||||
|
--bazel=output/bazel \
|
||||||
|
--output=output/bazel-complete.bash
|
||||||
|
PYTHONPATH="$wrksrc/third_party/py/abseil" \
|
||||||
|
python3 scripts/generate_fish_completion.py \
|
||||||
|
--bazel=output/bazel \
|
||||||
|
--output=output/bazel.fish
|
||||||
|
|
||||||
cp bazel-bin/scripts/bazel-complete.bash output/
|
|
||||||
cp bazel-bin/scripts/bazel.fish output/
|
|
||||||
cp scripts/zsh_completion/_bazel output/
|
cp scripts/zsh_completion/_bazel output/
|
||||||
chmod -R u+rwX /tmp
|
chmod -R u+rwX /tmp
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue