Ignore test directory from pkgs

This commit is contained in:
Masaaki Goshima 2021-06-06 19:29:52 +09:00
parent ad4e03eeff
commit f10809fec0
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
PKG := github.com/goccy/go-json
BIN_DIR := $(CURDIR)/bin
PKGS := $(shell go list ./... | grep -v internal/cmd)
PKGS := $(shell go list ./... | grep -v internal/cmd|grep -v test)
COVER_PKGS := $(foreach pkg,$(PKGS),$(subst $(PKG),.,$(pkg)))
COMMA := ,