Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

extensions/pfui/mise.toml

Raw
[tasks.bench]
description = "Benchmark PFUI fallback composition"
depends = ["//:install"]
run = "node --no-warnings --experimental-strip-types __bench__/fallback.bench.ts"

[tasks.profile]
description = "Profile PFUI fallback composition"
depends = ["//:install"]
run = "node ../../scripts/profile-benchmark.mjs pfui __bench__/fallback.bench.ts"

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

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

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