ignoring assets pkg in lint

This commit is contained in:
Prashant Gupta 2019-05-01 16:50:28 -07:00
parent 90d53f3e4c
commit 118bce49e0
1 changed files with 3 additions and 1 deletions

View File

@ -21,6 +21,8 @@ clean:
start: start:
go run cmd/main.go go run cmd/main.go
test:coverage
coverage: $(COVER_HTML) coverage: $(COVER_HTML)
$(COVER_HTML): $(COVER_PROFILE) $(COVER_HTML): $(COVER_PROFILE)
@ -33,7 +35,7 @@ vet:
go vet $(shell glide nv) go vet $(shell glide nv)
lint: 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: build
.PHONY: clean .PHONY: clean