diff --git a/Makefile b/Makefile index 8f8e2e2..493138f 100644 --- a/Makefile +++ b/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