Skip to content

Commit

Permalink
Merge pull request #2264 from RaduBerinde/make-lint
Browse files Browse the repository at this point in the history
Makefile: add lint target
  • Loading branch information
RaduBerinde authored Jan 23, 2023
2 parents 7953ed0 + 825168d commit 1303cb0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ test:
testrace: testflags += -race -timeout 20m
testrace: test

.PHONY: lint
lint:
${GO} test -tags '$(TAGS)' ${testflags} -run ${TESTS} ./internal/lint

.PHONY: stress stressrace
stressrace: testflags += -race
stress stressrace: testflags += -exec 'stress ${STRESSFLAGS}' -timeout 0 -test.v
Expand Down

0 comments on commit 1303cb0

Please sign in to comment.