From ccfa7d8cac54e0b3956eebaaa645d568d44da15d Mon Sep 17 00:00:00 2001 From: Oleg Butuzov Date: Wed, 7 Feb 2024 06:42:22 +0200 Subject: [PATCH] dev: remove `coverpkg` from `make tests` --- Makefile | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Makefile b/Makefile index c396621..dfdcd43 100644 --- a/Makefile +++ b/Makefile @@ -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/ @@ -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