.PHONY: tw-build tw-watch htmx-copy flowbite-copy assets server test db-reset fmt tw-build: npm --prefix flowbite-ui run tw:build tw-watch: npm --prefix flowbite-ui run tw:watch htmx-copy: mkdir -p web/static/vendor && cp flowbite-ui/node_modules/htmx.org/dist/htmx.min.js web/static/vendor/htmx.min.js flowbite-copy: mkdir -p web/static/vendor && cp flowbite-ui/node_modules/flowbite/dist/flowbite.min.js web/static/vendor/flowbite.js assets: htmx-copy flowbite-copy tw-build server: go run ./cmd/server test: go test ./... db-reset: rm -f ./data/app.db ./data/app.sqlite3 fmt: gofmt -w $$(find ./cmd ./internal -type f -name '*.go')