go-http-skeleton/Makefile

19 lines
292 B
Makefile
Raw Normal View History

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)