repositories / pi-ext
pi-ext
bugabingas pi extensions
owned by admin
extensions/rtk/mise.toml
Raw[tasks.bench]
description = "Benchmark RTK rewrite hook"
depends = ["//:install"]
run = "node --no-warnings --experimental-strip-types __bench__/rewrite.bench.ts"
[tasks.profile]
description = "Profile RTK rewrite hook"
depends = ["//:install"]
run = "node ../../scripts/profile-benchmark.mjs rtk __bench__/rewrite.bench.ts"
[tasks.benchstat]
description = "Compare RTK benchmark results"
depends = ["//:install"]
usage = '''
arg "<baseline>"
arg "<candidate>"
'''
run = 'benchstat "{{ usage.baseline }}" "{{ usage.candidate }}"'
[tasks.lint]
description = "Lint rtk 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 rtk extension"
depends = ["//:install"]
run = [
{ task = "//:test", args = ["extensions/rtk"] },
]
[tasks.check]
description = "Check rtk extension"
depends = ["//:install"]
run = [
{ task = "//:build", args = ["rtk"] },
{ task = "//:build-ext", args = ["rtk"] },
]
[tasks.verify-package]
description = "Build rtk and load the generated package relocated outside the checkout"
depends = ["//:install"]
run = [
{ task = "//:build-ext", args = ["rtk"] },
{ task = "//:verify-packages", args = ["rtk"] },
]