19 lines
222 B
Makefile
19 lines
222 B
Makefile
|
|
||
|
default: build
|
||
|
|
||
|
hot-reload: generate-templ
|
||
|
go build -o ./tmp/main
|
||
|
|
||
|
watch:
|
||
|
air
|
||
|
|
||
|
build: generate-templ
|
||
|
go build
|
||
|
|
||
|
generate-templ: twind
|
||
|
templ generate
|
||
|
|
||
|
|
||
|
twind:
|
||
|
npx tailwindcss -i ./tailwind.css -o ./static/tailwind.css
|