mirror of
https://github.com/3ybactuk/marketplace-go-service-project.git
synced 2025-10-30 14:03:45 +03:00
15 lines
332 B
Makefile
15 lines
332 B
Makefile
BINDIR=${CURDIR}/bin
|
|
PACKAGE=route256/cart
|
|
|
|
PKGS = $(shell go list ./... | grep -vE 'mock|config|generated|header|document|internal/pb')
|
|
|
|
bindir:
|
|
mkdir -p ${BINDIR}
|
|
|
|
build: bindir
|
|
echo "build cart"
|
|
|
|
coverage:
|
|
@go test -race -coverprofile=coverage.txt -covermode=atomic $(PKGS)
|
|
@go tool cover -html=coverage.txt -o coverage.html
|