chore: add prepare & test target to Makefile
This commit is contained in:
parent
8bc6dcff27
commit
d0a9a06455
1 changed files with 7 additions and 2 deletions
9
Makefile
9
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
|
||||
|
|
Loading…
Reference in a new issue