1
0
mirror of https://github.com/axzilla/templui.git synced 2025-02-22 10:53:35 +00:00
templui/Makefile

29 lines
742 B
Makefile
Raw Normal View History

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
2024-10-12 16:49:17 +02:00
tailwind-app:
2024-10-01 17:12:21 +02:00
npx tailwindcss -i ./assets/css/input.css -o ./assets/css/output.css --watch
2024-10-12 16:49:17 +02:00
tailwind-goilerplate:
npx tailwindcss -c ./tailwind.config.lib.js -i ./assets/css/input.css -o ./pkg/styles/goilerplate.css --watch
2024-10-01 17:12:21 +02:00
dev:
2024-10-12 16:49:17 +02:00
make -j4 templ server tailwind-app tailwind-goilerplate
2024-10-01 17:12:21 +02:00
debug:
2024-10-12 16:49:17 +02:00
make -j3 templ tailwind-app tailwind-goilerplate
2024-10-08 17:51:45 +02:00
generate-icons:
go run cmd/icongen/main.go