Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

extensions/tps/mise.toml

Raw
[tasks.lint]
description = "Lint tps extension"
depends = ["//:install"]
run = [
  "biome ci --config-path ../.. .",
  "rumdl check --config ../../.rumdl.toml .",
  "taplo format --check --config ../../.taplo.toml mise.toml",
]

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

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

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

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

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

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