ignoring assets pkg in lint

This commit is contained in:
Prashant Gupta 2019-05-01 16:50:28 -07:00
parent 90d53f3e4c
commit 118bce49e0

View File

@ -21,6 +21,8 @@ clean:
start:
go run cmd/main.go
test:coverage
coverage: $(COVER_HTML)
$(COVER_HTML): $(COVER_PROFILE)
@ -33,7 +35,7 @@ vet:
go vet $(shell glide nv)
lint:
go list ./... | grep -v vendor | xargs -L1 golint -set_exit_status
go list ./... | grep -v vendor | grep -v /assets/ |xargs -L1 golint -set_exit_status
.PHONY: build
.PHONY: clean