Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

extensions/ask/mise.toml

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

[tasks.lint]
description = "Lint ask 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 ask extension"
depends = ["//:install"]
run = [
  { task = "//:test", args = ["extensions/ask"] },
]

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

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

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

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

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