mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
refactor: update go mod library and refactor dev logic Co-authored-by: wencaiwulue <895703375@qq.com>
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
|