Skip to content

Commit

Permalink
dev: remove coverpkg from make tests
Browse files Browse the repository at this point in the history
  • Loading branch information
butuzov committed Feb 7, 2024
1 parent cc55cb0 commit ccfa7d8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
export PATH := $(PWD)/bin:$(PATH) # ./bin to $PATH
export SHELL := bash # Default Shell

GOPKGS := $(shell go list ./... | grep -vE "(cmd|testdata)" | tr -s '\n' ',' | sed 's/.\{1\}$$//' )


build:
@ go build -trimpath -o bin/ireturn ./cmd/ireturn/

Expand All @@ -14,7 +11,7 @@ tests:
-parallel=2 \
-timeout=1m \
-covermode=atomic \
-coverpkg=$(GOPKGS) -coverprofile=coverage.cov ./...
-coverprofile=coverage.cov ./...

lints:
golangci-lint run --no-config ./... -D deadcode
Expand Down

0 comments on commit ccfa7d8

Please sign in to comment.