generated from moebiusband/go-http-skeleton
19 lines
292 B
Makefile
19 lines
292 B
Makefile
TARGET = ./site
|
|
|
|
.PHONY: clean distclean test components $(TARGET)
|
|
|
|
.NOTPARALLEL:
|
|
|
|
$(TARGET): components
|
|
$(info ===> BUILD site)
|
|
@go build ./cmd/site
|
|
|
|
components:
|
|
$(info ===> BUILD templates)
|
|
cd web/components && templ generate
|
|
|
|
clean:
|
|
$(info ===> CLEAN)
|
|
@go clean
|
|
@rm -f $(TARGET)
|