mirror of
https://git.mirrors.martin98.com/https://github.com/ceph/ceph-csi.git
synced 2025-08-14 08:35:56 +08:00
11 lines
297 B
Bash
11 lines
297 B
Bash
#!/usr/bin/env bash
|
|
bazel build //proto/cel/expr:all
|
|
|
|
rm -vf ./*.pb.go
|
|
|
|
files=( $(bazel cquery //proto/cel/expr:expr_go_proto --output=starlark --starlark:expr="'\n'.join([f.path for f in target.output_groups.go_generated_srcs.to_list()])") )
|
|
for src in "${files[@]}";
|
|
do
|
|
cp -v "${src}" ./
|
|
done
|