Skip to content

Commit

Permalink
ignoring assets pkg in lint
Browse files Browse the repository at this point in the history
  • Loading branch information
prashantgupta24 committed May 1, 2019
1 parent 90d53f3 commit 118bce4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ clean:
start:
go run cmd/main.go

test:coverage

coverage: $(COVER_HTML)

$(COVER_HTML): $(COVER_PROFILE)
Expand All @@ -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

0 comments on commit 118bce4

Please sign in to comment.