[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.ts rtk __bench__/rewrite.bench.ts" [tasks.benchstat] description = "Compare RTK benchmark results" depends = ["//:install"] usage = ''' arg "" arg "" ''' 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"] }, ] [tasks.coverage] description = "Non-gating V8 coverage for rtk extension" depends = ["//:install"] run = [{ task = "//:coverage", args = ["rtk"] }] [tasks.mutate] description = "Author-driven mutation testing for rtk extension. Usage: mutate " depends = ["//:install"] usage = 'arg "" help="Path under this extension to mutate"' run = 'mise run //:mutate rtk "{{ usage.target }}"' [tasks.fuzz] description = "Author-driven fuzz campaigns for rtk extension. Usage: fuzz " depends = ["//:install"] usage = 'arg "" help="Fuzz target name under __fuzz__"' run = 'mise run //:fuzz rtk "{{ usage.target }}"'