21 lines
291 B
Makefile
21 lines
291 B
Makefile
.PHONY: deps dev build clean
|
|
|
|
GOCMD=go
|
|
TAG := latest
|
|
|
|
all: deps build
|
|
|
|
deps:
|
|
@$(GOCMD) install go.mills.io/zs@latest
|
|
@$(GOCMD) install github.com/tdewolff/minify/v2/cmd/minify@latest
|
|
|
|
dev : DEBUG=1
|
|
dev : build
|
|
@zs serve
|
|
|
|
build:
|
|
@zs build
|
|
|
|
clean:
|
|
@git clean -f -d -X
|