Setup basic project structure

This commit is contained in:
Dominic Ferrando
2025-04-16 22:27:34 -04:00
parent bb7b8fca2e
commit 7ebebf084f
14 changed files with 303 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
live/templ:
templ generate --watch --proxy="http://localhost:8080" --cmd="go run ./cmd" --open-browser=false -v
live/sync_assets:
go run github.com/air-verse/air@v1.61.7 \
--build.cmd "templ generate --notify-proxy" \
--build.bin "true" \
--build.delay "100" \
--build.exclude_dir "" \
--build.include_dir "web/static" \
--build.include_ext "js,css"
live:
make -j2 live/templ live/sync_assets