watchDB/Makefile

19 lines
292 B
Makefile
Raw Normal View History

2024-08-03 09:28:23 +02:00
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)