mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 21:38:05 -05:00
Only build non-test targets in hack/update-go-pbs.sh (#12101)
* Only build non-test targets in hack/update-go-pbs.sh * run ./hack/update-go-pbs.sh * Add ability to pass config to bazel --------- Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
# Script to copy pb.go files from bazel build folder to appropriate location.
|
||||
# Bazel builds to bazel-bin/... folder, script copies them back to original folder where .proto is.
|
||||
|
||||
bazel build //proto/...
|
||||
bazel query 'attr(testonly, 0, //proto/...)' | xargs bazel build $@
|
||||
|
||||
file_list=()
|
||||
while IFS= read -d $'\0' -r file; do
|
||||
|
||||
Reference in New Issue
Block a user