mirror of
https://github.com/prashantgupta24/automatic-mouse-mover.git
synced 2024-12-22 00:14:11 +00:00
ignoring assets pkg in lint
This commit is contained in:
parent
90d53f3e4c
commit
118bce49e0
4
Makefile
4
Makefile
@ -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
|
Loading…
Reference in New Issue
Block a user