-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (20 loc) · 754 Bytes
/
Copy pathMakefile
File metadata and controls
23 lines (20 loc) · 754 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
templ:
templ generate
tailwind-clean:
tailwindcss -i ./assets/css/input.css -o ./assets/css/output.css --clean
# Run tailwindcss to generate the styles.css bundle in watch mode.
tailwind-watch:
tailwindcss -i ./assets/css/input.css -o ./assets/css/output.css --watch
dev:
air \
--build.cmd "tailwindcss -i ./assets/css/input.css -o ./assets/css/output.css --minify && go generate ./... && go build -o tmp/bin/main ./cmd/api/main.go" \
--build.bin "tmp/bin/main" \
--build.delay "100" \
--build.exclude_dir "node_modules,assets,tmp" \
--build.exclude_regex ".*_templ.go" \
--build.include_ext "go,templ" \
--build.stop_on_error "false" \
--misc.clean_on_exit true \
--proxy.enabled true \
--proxy.proxy_port 8090 \
--proxy.app_port 3010