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__/spawn-hook.bench.ts"

[tasks.profile]
description = "Profile uv bash spawn hook"
depends = ["//:install"]
run = "node ../../scripts/profile-benchmark.mjs uv __bench__/spawn-hook.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"] },
]