-
Notifications
You must be signed in to change notification settings - Fork 1
/
dodo.py
36 lines (24 loc) · 832 Bytes
/
dodo.py
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
def task_server_tutorial_dev():
return {
"actions": ["litestar --app htmx_tutorial.app:app run --reload -d"],
}
def task_server_dev():
return {
"actions": ["litestar --app lauzhack_pictorial.app:app run --reload -d"],
}
def task_tailwind_dev():
return {
"actions": ["tailwindcss -i input.css -o static/output.css --watch"],
}
def task_dev_tutorial():
yield {"name": "server", **task_server_tutorial_dev()}
yield {"name": "tailwind", **task_tailwind_dev()}
def task_dev():
yield {"name": "server", **task_server_dev()}
yield {"name": "tailwind", **task_tailwind_dev()}
def task_db_reset():
return {
"actions": ["dbmate drop && dbmate up"],
}
# tailwindcss -i input.css -o output.css --watch
# tailwindcss -i input.css -o output.css --minify