-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Expand file tree
/
Copy pathshared_tasks.toml
More file actions
39 lines (30 loc) · 1.08 KB
/
shared_tasks.toml
File metadata and controls
39 lines (30 loc) · 1.08 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
[tool.poe.tasks.syntax]
help = "Run Ruff formatting and Ruff checks for this package."
sequence = ["fmt", "lint"]
[tool.poe.tasks.fmt]
help = "DEPRECATED: Use `syntax --format` instead."
cmd = "ruff format"
[tool.poe.tasks.format]
help = "DEPRECATED: Use `syntax --format` instead."
ref = "fmt"
[tool.poe.tasks.lint]
help = "DEPRECATED: Use `syntax --check` instead."
cmd = "ruff check"
[tool.poe.tasks.pyright]
help = "Run Pyright for this package."
cmd = "pyright"
[tool.poe.tasks.publish]
help = "Publish this package with uv."
cmd = "uv publish"
[tool.poe.tasks.clean-dist]
help = "Remove generated dist artifacts for this package."
cmd = "rm -rf dist"
[tool.poe.tasks.build-package]
help = "Build distribution artifacts for this package."
cmd = "uv build"
[tool.poe.tasks.move-dist]
help = "Move built package artifacts into the workspace dist directory."
cmd = "sh -c 'mkdir -p ../../dist && mv dist/* ../../dist/ 2>/dev/null || true'"
[tool.poe.tasks.build]
help = "Build this package and move its artifacts into the workspace dist directory."
sequence = ["build-package", "move-dist"]