ekzyis
abad39a2bc
* rename to hermes * use echo+htmx+templ stack * use code from delphi.market as scaffolding
16 lines
411 B
Makefile
16 lines
411 B
Makefile
.PHONY: build run
|
|
|
|
SOURCE := $(shell find fonts lib pages server -type f) main.go
|
|
|
|
# build binary for deployment
|
|
build: hermes
|
|
hermes: $(SOURCE)
|
|
tailwindcss -i public/css/base.css -o public/css/tailwind.css
|
|
templ generate -path pages
|
|
go build -o hermes .
|
|
|
|
# run code for development (no watch mode yet)
|
|
run:
|
|
tailwindcss -i public/css/base.css -o public/css/tailwind.css
|
|
templ generate -path pages
|
|
go run .
|