Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only build non-test targets in hack/update-go-pbs.sh #12101

Merged
merged 5 commits into from
Mar 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hack/update-go-pbs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion hack/update-go-ssz.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# Script to copy ssz.go files from bazel build folder to appropriate location.
# Bazel builds to bazel-bin/... folder, script copies them back to original folder where target is.

bazel query 'kind(ssz_gen_marshal, //proto/...)' | xargs bazel build
bazel query 'kind(ssz_gen_marshal, //proto/...)' | xargs bazel build $@

# Get locations of proto ssz.go files.
file_list=()
Expand Down
2 changes: 1 addition & 1 deletion proto/eth/service/beacon_chain_service.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion proto/eth/service/beacon_debug_service.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

257 changes: 131 additions & 126 deletions proto/prysm/v1alpha1/beacon_chain.pb.go

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions proto/prysm/v1alpha1/blobs.pb.gw.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
//go:build ignore
// +build ignore

package ignore
1 change: 1 addition & 0 deletions proto/prysm/v1alpha1/validator-client/keymanager.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.