Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

extensions/uv/mise.toml

Raw
[tasks.bench]
description = "Benchmark uv bash spawn hook"
depends = ["//:install"]
run = "node --no-warnings --experimental-strip-types __bench__/block.bench.ts"

[tasks.profile]
description = "Profile uv bash spawn hook"
depends = ["//:install"]
run = "node ../../scripts/profile-benchmark.ts uv __bench__/block.bench.ts"

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

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

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

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

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

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

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