Initial checkin of templ skeleton
HTML based on Jason Knight HTML template code
This commit is contained in:
18
Makefile
Normal file
18
Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
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)
|
Reference in New Issue
Block a user