Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions benches/tasks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ depends = ["bench:build"]
dir = "benches"
run = "uv run --no-project run.py"
output = "interleave"

["bench:clean"]
description = "Remove benchmark build artifacts and environments"
dir = "benches"
run = "cmake -E rm -rf .venv ptfkit-native/build ptfkit-py/.venv ptfkit-rs/target"
5 changes: 5 additions & 0 deletions codegen/tasks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@ run = "cargo test"
["codegen:verify"]
description = "Run all code generator quality checks"
depends = ["codegen:format", "codegen:lint", "codegen:test"]

["codegen:clean"]
description = "Remove code generator Cargo build artifacts"
dir = "codegen"
run = "cargo clean"
5 changes: 5 additions & 0 deletions docs/tasks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ run = "uv run --no-sync ty check"
["docs:verify"]
description = "Run documentation quality checks and build the site"
depends = ["docs:lint", "docs:format", "docs:typecheck", "docs:build"]

["docs:clean"]
description = "Remove documentation build artifacts and environment"
dir = "docs"
run = "cmake -E rm -rf .venv dist __pycache__"
4 changes: 4 additions & 0 deletions mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@ depends = ["codegen:test", "native:test", "python:test", "rust:test"]
[tasks.verify]
description = "Run all component verification suites"
depends = ["codegen:verify", "native:verify", "python:verify", "rust:verify"]

[tasks.clean]
description = "Remove all local build artifacts and development environments"
depends = ["bench:clean", "codegen:clean", "docs:clean", "native:clean", "python:clean", "rust:clean"]
5 changes: 5 additions & 0 deletions targets/ptfkit-py/tasks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,8 @@ run = "ty check --fix"
["python:verify"]
description = "Run all Python target quality checks"
depends = ["python:lint", "python:format", "python:typecheck", "python:test"]

["python:clean"]
description = "Remove Python build artifacts and development environment"
dir = "targets/ptfkit-py"
run = "cmake -E rm -rf .venv build dist wheelhouse src/ptfkit.egg-info"
5 changes: 5 additions & 0 deletions targets/ptfkit-rs/tasks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,8 @@ run = "cargo test"
["rust:verify"]
description = "Run all Rust target quality checks"
depends = ["rust:format", "rust:lint", "rust:test"]

["rust:clean"]
description = "Remove Rust target Cargo build artifacts"
dir = "targets/ptfkit-rs"
run = "cargo clean"