-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
37 lines (28 loc) · 925 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# entclean:
# entclean User Group
# if you want good hot reload use 3 different cmd with tailwatch + temlwatch + air . with default config
entgenb:
go generate ./ent
entgen:
go run -mod=mod entgo.io/ent/cmd/ent generate --feature sql/execquery ./ent/schema
templ:
templ generate
templwatch:
templ generate -watch
run:
- tail
- templ generate .\views
- air .
run2:
- templ generate --watch --proxy="http:https://localhost:8080" --cmd="go run ."
build:
- tailmin
- templ generate .\views
- go build -o bin/app
tail:
tailwindcss-windows-x64.exe --config .\config\tailwind.config.js -i .\config\input.css -o .\static\css\output.css
tailwatch:
tailwindcss-windows-x64.exe --config .\config\tailwind.config.js -i .\config\input.css -o .\static\css\output.css --watch
# Compile and minify your CSS for production
tailmin:
tailwindcss-windows-x64.exe -i .\static\css\input.css -o .\static\css\output.css --minify