forked from rhombusgg/rhombus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTaskfile.yaml
47 lines (40 loc) · 1.07 KB
/
Taskfile.yaml
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
38
39
40
41
42
43
44
45
46
47
version: "3"
tasks:
dev:
deps:
- watch-standalone
- watch-tailwindcss
- watch-clientjs
desc: Run cargo watch and tailwindcss concurrently
watch-standalone:
desc: Start cargo watch
dir: examples/standalone
cmds:
- mold -run cargo watch -x 'run -p standalone'
watch-demo:
desc: Start cargo watch
dir: examples/demo
cmds:
- mold -run cargo watch -x run
watch-standalone-release:
desc: Start cargo watch
cmds:
- mold -run cargo watch -x 'run -p standalone --release'
watch-standalone-systemfd:
desc: Start cargo watch using systemfd to not drop connections on restart
cmds:
- systemfd --no-pid -s http::3000 -- mold -run cargo watch -x 'run -p standalone'
watch-tailwindcss:
desc: Start Tailwind CSS in watch mode
dir: rhombus
silent: true
cmds:
- tailwindcss --input app.css -w -o static/tailwind.css
watch-clientjs:
desc: Build the client js bundle in watch mode
dir: rhombus
silent: true
env:
WATCH: true
cmds:
- node build.mjs