2024-10-09 15:44:37 +02:00
|
|
|
# Dev Tools
|
2024-10-01 17:12:21 +02:00
|
|
|
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
|
|
|
|
|
2025-02-13 09:22:46 +07:00
|
|
|
tailwind-clean:
|
|
|
|
tailwindcss -i ./assets/css/input.css -o ./assets/css/output.css --clean
|
|
|
|
|
|
|
|
tailwind-watch:
|
2024-12-07 17:31:53 +07:00
|
|
|
tailwindcss -i ./assets/css/input.css -o ./assets/css/output.css --watch
|
2025-02-13 09:22:46 +07:00
|
|
|
|
2024-10-01 17:12:21 +02:00
|
|
|
dev:
|
2025-02-13 09:22:46 +07:00
|
|
|
make tailwind-clean
|
|
|
|
make -j3 templ server tailwind-watch
|
2024-10-01 17:12:21 +02:00
|
|
|
|
|
|
|
debug:
|
2024-12-07 17:31:53 +07:00
|
|
|
make -j3 templ tailwind-app tailwind
|
2024-10-08 17:51:45 +02:00
|
|
|
|
|
|
|
generate-icons:
|
|
|
|
go run cmd/icongen/main.go
|