summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index d3630e7..4c97719 100644
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@
# go install
-all: repository.pb.go
+all: package.pb.go
make -C example
vet: lint
@@ -29,10 +29,10 @@ clean:
-rm -f go.*
make -C example clean
-repository.pb.go: repository.proto
+package.pb.go: package.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=Mrepository.proto=go.wit.com/lib/protobuf/gitpb \
- repository.proto
+ cd ~/go/src && protoc --go_out=. --proto_path=go.wit.com/lib/protobuf/zoopb \
+ --go_opt=Mpackage.proto=go.wit.com/lib/protobuf/zoopb \
+ package.proto