diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -36,7 +36,13 @@ clean: cd configfile && make clean droplet.pb.go: droplet.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 + # 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/virtbuf \ + --go_opt=Mdroplet.proto=go.wit.com/lib/protobuf/virtbuf \ + droplet.proto + events.pb.go: events.proto protoc --go_out=. events.proto |
