Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

extensions/handoff/mise.toml

Raw
[tasks.fmt]
description = "Format handoff"
depends = ["//:install"]
run = [
  "biome check --write .",
  "rumdl fmt README.md",
  "taplo format mise.toml",
]

[tasks.lint]
description = "Verify handoff formatting and lint"
depends = ["//:install"]
run = [
  "biome ci --config-path ../.. .",
  "rumdl check --config ../../.rumdl.toml .",
  "taplo format --check --config ../../.taplo.toml mise.toml",
]

[tasks.test]
description = "Test handoff"
depends = ["//:install"]
run = [
  { task = "//:test", args = ["extensions/handoff"] },
]

[tasks.check]
description = "Check handoff"
depends = ["//:install"]
run = [
  { task = "//:build", args = ["handoff"] },
  { task = "//:build-ext", args = ["handoff"] },
]

[tasks.verify-package]
description = "Build handoff and load the generated package relocated outside the checkout"
depends = ["//:install"]
run = [
  { task = "//:build-ext", args = ["handoff"] },
  { task = "//:verify-packages", args = ["handoff"] },
]

[tasks.coverage]
description = "Non-gating V8 coverage for handoff extension"
depends = ["//:install"]
run = [{ task = "//:coverage", args = ["handoff"] }]

[tasks.mutate]
description = "Author-driven mutation testing for handoff extension. Usage: mutate <target>"
depends = ["//:install"]
usage = 'arg "<target>" help="Path under this extension to mutate"'
run = 'mise run //:mutate handoff "{{ usage.target }}"'

[tasks.fuzz]
description = "Author-driven fuzz campaigns for handoff extension. Usage: fuzz <target>"
depends = ["//:install"]
usage = 'arg "<target>" help="Fuzz target name under __fuzz__"'
run = 'mise run //:fuzz handoff "{{ usage.target }}"'