Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

extensions/gratis/mise.toml

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

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

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

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

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