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

Replace gogo/protobuf with google/protobuf #5032

Merged
merged 13 commits into from
Nov 21, 2023
Prev Previous commit
Next Next commit
Use GOOS when picking OS
  • Loading branch information
tdeebswihart committed Nov 21, 2023
commit 38cfeafdee684e6776bc030965fefd4cc43e3347
6 changes: 0 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ endif
export TEST_TOTAL_SHARDS ?= $(BUILDKITE_PARALLEL_JOB_COUNT)
export TEST_SHARD_INDEX ?= $(BUILDKITE_PARALLEL_JOB)

SEDOPTION = -i
ifeq ($(shell uname -s),Darwin)
# MacOS uses BSD sed
SEDOPTION = -i ''
endif

##### Variables ######

GOBIN := $(if $(shell go env GOBIN),$(shell go env GOBIN),$(GOPATH)/bin)
Expand Down
4 changes: 2 additions & 2 deletions protoc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ PROTO_OUT=api
PROTO_OPTS="paths=source_relative:${PROTO_OUT}"

SED='sed -i'
case $(uname -s) in
Darwin*)
case $(go env GOOS) in
darwin*)
SED="sed -i ''"
;;
esac
Expand Down