next #3
6
Makefile
6
Makefile
@ -30,7 +30,6 @@ default: fmt
|
||||
fmt:
|
||||
go fmt ./...
|
||||
goimports -l -w .
|
||||
go vet ./...
|
||||
|
||||
docker-build:
|
||||
docker build -t $(IMAGENAME) .
|
||||
@ -43,6 +42,9 @@ build: ./$(FN)
|
||||
go-get:
|
||||
cd cmd/$(FN) && go get -v
|
||||
|
||||
./$(FN): */*.go cmd/*/*.go go-get
|
||||
vet:
|
||||
go vet ./...
|
||||
bash -c 'test -z "$$(gofmt .)"'
|
||||
|
||||
./$(FN): */*.go cmd/*/*.go go-get vet
|
||||
cd cmd/$(FN) && go build -o ../../$(FN) $(GOFLAGS) .
|
||||
|
Loading…
Reference in New Issue
Block a user