next #3

Manually merged
sneak merged 7 commits from next into master 2020-09-09 04:34:12 +00:00
Showing only changes of commit f6ee57d25c - Show all commits

View File

@ -30,7 +30,6 @@ default: fmt
fmt: fmt:
go fmt ./... go fmt ./...
goimports -l -w . goimports -l -w .
go vet ./...
docker-build: docker-build:
docker build -t $(IMAGENAME) . docker build -t $(IMAGENAME) .
@ -43,6 +42,9 @@ build: ./$(FN)
go-get: go-get:
cd cmd/$(FN) && go get -v cd cmd/$(FN) && go get -v
./$(FN): */*.go cmd/*/*.go go-get vet:
go vet ./... go vet ./...
bash -c 'test -z "$$(gofmt .)"'
./$(FN): */*.go cmd/*/*.go go-get vet
cd cmd/$(FN) && go build -o ../../$(FN) $(GOFLAGS) . cd cmd/$(FN) && go build -o ../../$(FN) $(GOFLAGS) .