blob: 7558b5ec4335643ca0545aed7c42e3a1c96b10e4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
|