name correctly

This commit is contained in:
Jeff Carr 2024-11-03 00:41:39 -05:00
parent 35f764f2bc
commit 8dea9ab921
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
# go install # go install
all: repo.pb.go all: repository.pb.go
make -C example make -C example
vet: lint vet: lint
@ -29,10 +29,10 @@ clean:
-rm -f go.* -rm -f go.*
make -C example clean make -C example clean
repo.pb.go: repo.proto repository.pb.go: repository.proto
# protoc --go_out=. droplet.proto # protoc --go_out=. droplet.proto
# This is switched over to use the new protoc-gen-go from google.golang.org/protobuf/cmd/protoc-gen-go # This is switched over to use the new protoc-gen-go from google.golang.org/protobuf/cmd/protoc-gen-go
# the debian one (2024/10/21) seems to be the older/original one from github.com/golang/protobuf/protoc-gen-go # the debian one (2024/10/21) seems to be the older/original one from github.com/golang/protobuf/protoc-gen-go
cd ~/go/src && protoc --go_out=. --proto_path=go.wit.com/lib/protobuf/gitpb \ cd ~/go/src && protoc --go_out=. --proto_path=go.wit.com/lib/protobuf/gitpb \
--go_opt=Mrepo.proto=go.wit.com/lib/protobuf/gitpb \ --go_opt=Mrepository.proto=go.wit.com/lib/protobuf/gitpb \
repo.proto repository.proto