diff options
| author | Jeff Carr <[email protected]> | 2025-01-09 12:54:04 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-01-09 12:54:04 -0600 |
| commit | e79ba634661baba562fa0ab9245040bd37c29f4c (patch) | |
| tree | a0f0908d87ff9197ebc87dd6a715e002b2a0785c /example/Makefile | |
| parent | c99d8763e6c85513c700d58cd1e2163c31d2187d (diff) | |
rename dir
Diffstat (limited to 'example/Makefile')
| -rw-r--r-- | example/Makefile | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/example/Makefile b/example/Makefile new file mode 100644 index 0000000..7558b5e --- /dev/null +++ b/example/Makefile @@ -0,0 +1,25 @@ +VERSION = $(shell git describe --tags) +BUILDTIME = $(shell date +%Y.%m.%d_%H%M) + +full: clean goimports auto vet build + ./testfiles + +vet: + @GO111MODULE=off go vet + @echo this go binary package should build okay + +build: + rm -f fruit.newsort.pb.go + GO111MODULE=off go build + ./testfiles + +auto: + ../autogenpb --proto fruit.proto --package main + +goimports: + goimports -w *.go + +clean: + -rm -f go.* + -rm -f *.pb.go + -rm -f testfiles |
