no screaming
This commit is contained in:
parent
5140794b16
commit
4d7d0472c7
8
Makefile
8
Makefile
@ -1,4 +1,4 @@
|
||||
SOURCES = $(shell find . -name "*.go")
|
||||
sources = $(shell find . -name "*.go")
|
||||
|
||||
default: build
|
||||
|
||||
@ -9,12 +9,12 @@ check:
|
||||
@go test -count 1 ./...
|
||||
|
||||
imports:
|
||||
@goimports -w $(SOURCES)
|
||||
@goimports -w $(sources)
|
||||
|
||||
fmt:
|
||||
@gofmt -w -s $(SOURCES)
|
||||
@gofmt -w -s $(sources)
|
||||
|
||||
.coverprofile: $(SOURCES)
|
||||
.coverprofile: $(sources)
|
||||
@go test -count 1 -coverprofile .coverprofile
|
||||
|
||||
cover: .coverprofile
|
||||
|
||||
Loading…
Reference in New Issue
Block a user