-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
modd.conf
26 lines (21 loc) · 630 Bytes
/
modd.conf
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
@out = ./build
"**/*.{go,templ}" !**/*_templ.go !build/**/* {
prep: templ generate -path ./cmd
prep: templ generate -path ./internal
prep: go build ./cmd/ray-peat-rodeo
prep: ./ray-peat-rodeo
prep: cp --recursive ./web/static ./build/assets
prep: pagefind --site @out
prep: gomod2nix
}
**/*.md {
prep: ./ray-peat-rodeo
}
build/**/* {
daemon: devd -m --address "0.0.0.0" @out
}
tailwind.config.js {
# `sleep infinity` is a hack to force stdin to exist, which tailwind needs.
# See https://github.com/cortesi/modd/issues/129
daemon: sleep infinity | tailwind --watch --output @out/assets/tailwind.css
}