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.mjs 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"] },
]