all: droplet.pb.go goimports vet @echo This GO code passes the compile checks # fixes your numbers if you move things around # THIS TOTALLY BREAKS THE POINT OF PROTOBUF # To work around that breaking, you must change the version # also, all the wrapping code must support this. which it doesn't proto-renumber: clean autogenpb --renumber --proto droplet.proto autogenpb --renumber --proto hypervisor.proto make goimports vet # Moisey came up with the term 'droplet' # It's worked well as unique term for virtual machine droplet.pb.go: droplet.proto make generate generate: clean go mod init go mod tidy go generate go-generate: rm -f *.pb.go *.patch goimports: goimports -w *.go vet: @GO111MODULE=off go vet clean: rm -f *.pb.go *.patch -rm -f go.* go-mod-clean purge