From d0a9a06455d5c68c7dba4de7022a4b42d03ba8f8 Mon Sep 17 00:00:00 2001 From: "Glenn Y. Rolland" Date: Sun, 6 Aug 2023 12:24:04 +0200 Subject: [PATCH] chore: add prepare & test target to Makefile --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 73db521..dad2131 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,9 @@ all: build %.mjml.html: %.mjml npx mjml $< --config.minify > $@ +.PHONY: prepare +prepare: + go mod download .PHONY: build build-binaries build-templates build: build-binaries build-templates ## build executable @@ -38,8 +41,10 @@ clean-templates: clean-binaries: rm -rf ./_build/* -test: build - ./test.sh +.PHONY: test +test: # build + go test ./... + # ./test.sh npm: npm install