magicwallet/Makefile
ekzyis abad39a2bc Let it be hermes
* rename to hermes
* use echo+htmx+templ stack
* use code from delphi.market as scaffolding
2024-10-26 03:57:06 +02:00

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 .