mirror of
https://github.com/axzilla/templui.git
synced 2025-02-21 21:52:40 +00:00
29 lines
742 B
Makefile
29 lines
742 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-app:
|
|
npx tailwindcss -i ./assets/css/input.css -o ./assets/css/output.css --watch
|
|
|
|
tailwind-goilerplate:
|
|
npx tailwindcss -c ./tailwind.config.lib.js -i ./assets/css/input.css -o ./pkg/styles/goilerplate.css --watch
|
|
|
|
dev:
|
|
make -j4 templ server tailwind-app tailwind-goilerplate
|
|
|
|
debug:
|
|
make -j3 templ tailwind-app tailwind-goilerplate
|
|
|
|
generate-icons:
|
|
go run cmd/icongen/main.go
|