Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

extensions/klaus/mise.toml

Raw
[tasks.bench]
description = "Benchmark Klaus idle child reuse"
depends = ["//:install"]
env = { KLAUS_BENCH = "1" }
run = "npx vitest run --config vitest.e2e.config.ts __e2e__/reuse-benchmark.test.ts"

[tasks.e2e]
description = "Run Klaus fake-auth process E2E"
depends = ["//:install"]
run = "npx vitest run --config vitest.e2e.config.ts"

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

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

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