diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -1,7 +1,8 @@ -# git remote add github [email protected]:wit-go/gui-debugger.git +all: auto.pb.go goimports vet + @echo This GO code passes the compile checks -all: generate goimports vet - @echo common init code for common packages +auto.pb.go: auto.proto + make generate generate: clean go mod init @@ -22,5 +23,10 @@ clean: -rm -f go.* go-mod-clean purge -auto.pb.go: auto.proto - autogenpb --proto auto.proto +# 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 auto.proto + make goimports vet |
