Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

extensions/good-job/mise.toml

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

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

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

[tasks.bench]
description = "Benchmark loading persisted good-job records"
depends = ["//:install"]
run = "node --no-warnings --experimental-strip-types --experimental-loader ../../scripts/ts-js-loader.mjs __benches__/storage.bench.ts"

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

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

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

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