From 0986d5fdbb4b8ec5f803e0880a209f105d31e589 Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Thu, 13 Jun 2024 15:02:30 +0200 Subject: [PATCH] build: Add 'check' target --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8ba3a945..5a137330 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all build clean cross test +.PHONY: all build check clean cross test DEFAULT_GOOS=$(shell go env GOOS) DEFAULT_GOARCH=$(shell go env GOARCH) @@ -12,6 +12,8 @@ include tools/tools.mk cross: bin/macadam-darwin-amd64 bin/macadam-darwin-arm64 bin/macadam-linux-amd64 bin/macadam-linux-arm64 bin/macadam-windows-amd64 +check: lint test + test: @go test -v ./pkg/...