-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathTaskfile.yaml
More file actions
89 lines (70 loc) · 1.94 KB
/
Taskfile.yaml
File metadata and controls
89 lines (70 loc) · 1.94 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
version: 3
tasks:
# --------------------------- SETUP ------------------------------------
activate:
desc: Activates the virtual environment in development mode
cmds:
- hatch shell
clean:
desc: Cleans caching, pyc and pycache files
cmds:
- hatch run clean_pyc
- hatch run clean_pyi
- hatch run clean_pycache
build_with_checks:
desc: Builds the project with checks
cmds:
- hatch run build_with_check
lint:
desc: Lints the project
cmds:
- hatch run lint
format:
desc: Formats the project
cmds:
- hatch run format
ty:
desc: Runs the type checker only, no formatting
cmds:
- hatch run test:check_types
#---------------------------- DOCS -------------------------------
docs_prepare:
desc: Prepares documentation sources for Zensical
cmds:
- hatch run docs:prepare
docs_clean:
desc: Cleans generated docs artifacts
cmds:
- hatch run docs:clean
build:
desc: Builds the documentation
cmds:
- hatch run docs:build
serve:
desc: Runs the documentation in live mode
cmds:
- hatch run docs:serve
serve_dev:
desc: Runs the documentation in dev mode
cmds:
- hatch run docs:dev
# --------------------------- TEST ------------------------------------
test:
desc: Runs the suite tests
cmds:
- hatch run test:test {{ .ARGS }}
test_man:
desc: Runs the manual tests with more output details and python breakpoints allowed
cmds:
- hatch run test:test_man {{ .ARGS }}
coverage:
desc: Runs the coverage tests
cmds:
- hatch run test:coverage {{ .ARGS }}
# ---------------------- DASHBOARD ----------------------------------
dashboard:
desc: Starts the dashboard in development mode
env:
ASYNCZ_SETTINGS_MODULE: asyncz.contrib.dashboard.development.settings.Settings
cmds:
- python asyncz/contrib/dashboard/development/run.py