Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

extensions/footer/mise.toml

Raw
[tasks.bench]
description = "Benchmark footer rendering"
depends = ["//:install"]
run = "node --no-warnings --experimental-strip-types --expose-gc __bench__/render.bench.ts"

[tasks.profile]
description = "Profile footer rendering"
depends = ["//:install"]
run = "node ../../scripts/profile-benchmark.ts footer __bench__/render.bench.ts --expose-gc"

[tasks.benchstat]
description = "Compare footer benchmark results"
depends = ["//:install"]
usage = '''
arg "<baseline>"
arg "<candidate>"
'''
run = 'benchstat "{{ usage.baseline }}" "{{ usage.candidate }}"'

[tasks.fmt]
description = "Format footer extension"
depends = ["//:install"]
run = [
  "biome check --write --config-path ../.. .",
  "rumdl fmt --config ../../.rumdl.toml .",
  "taplo format --config ../../.taplo.toml mise.toml",
]

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

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

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

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

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

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