name correctly
This commit is contained in:
parent
35f764f2bc
commit
8dea9ab921
8
Makefile
8
Makefile
|
@ -5,7 +5,7 @@
|
|||
# go install
|
||||
|
||||
|
||||
all: repo.pb.go
|
||||
all: repository.pb.go
|
||||
make -C example
|
||||
|
||||
vet: lint
|
||||
|
@ -29,10 +29,10 @@ clean:
|
|||
-rm -f go.*
|
||||
make -C example clean
|
||||
|
||||
repo.pb.go: repo.proto
|
||||
repository.pb.go: repository.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
|
||||
# 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 \
|
||||
--go_opt=Mrepo.proto=go.wit.com/lib/protobuf/gitpb \
|
||||
repo.proto
|
||||
--go_opt=Mrepository.proto=go.wit.com/lib/protobuf/gitpb \
|
||||
repository.proto
|
||||
|
|
Loading…
Reference in New Issue