24 lines
385 B
Makefile
24 lines
385 B
Makefile
|
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:
|
||
|
GO111MODULE=off go build
|
||
|
|
||
|
auto:
|
||
|
../autogenpb --proto auto.proto --package main
|
||
|
|
||
|
goimports:
|
||
|
goimports -w *.go
|
||
|
|
||
|
clean:
|
||
|
-rm -f go.*
|
||
|
-rm -f *.pb.go
|
||
|
-rm -f testfiles
|