mirror of
https://github.com/axzilla/templui.git
synced 2025-02-21 00:53:18 +00:00
30 lines
687 B
Makefile
30 lines
687 B
Makefile
# Dev Tools
|
|
templ:
|
|
templ generate --watch --proxy="http://localhost:8090" --open-browser=false -v
|
|
|
|
server:
|
|
air \
|
|
--build.cmd "go build -o tmp/bin/main ./cmd/server" \
|
|
--build.bin "tmp/bin/main" \
|
|
--build.delay "100" \
|
|
--build.exclude_dir "node_modules" \
|
|
--build.include_ext "go" \
|
|
--build.stop_on_error "false" \
|
|
--misc.clean_on_exit true
|
|
|
|
tailwind-clean:
|
|
tailwindcss -i ./assets/css/input.css -o ./assets/css/output.css --clean
|
|
|
|
tailwind-watch:
|
|
tailwindcss -i ./assets/css/input.css -o ./assets/css/output.css --watch
|
|
|
|
dev:
|
|
make tailwind-clean
|
|
make -j3 templ server tailwind-watch
|
|
|
|
debug:
|
|
make -j3 templ tailwind-app tailwind
|
|
|
|
generate-icons:
|
|
go run cmd/icongen/main.go
|