diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3d80c78 --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +# You must use the current google protoc-gen-go +# +# cd ~/go/src/google.golang.org/protobuf/cmd/protoc-gen-go +# go install + +all: goimports vet + +vet: + @GO111MODULE=off go vet + @echo this go library package builds okay + +# autofixes your import headers in your golang files +goimports: + goimports -w *.go + +clean: + rm -f *.pb.go + -rm -f go.* |
