Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

extensions/devdocs/mise.toml

Raw
[tasks.test]
description = "Test devdocs extension"
depends = ["//:install"]
run = [{ task = "//:test", args = ["extensions/devdocs"] }]

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

[tasks.bench]
description = "Benchmark cached read admission with disposable SQLite data; optional DEVDOCS_BENCH_PROFILE absolute output path"
depends = ["//:install"]
run = "node --no-warnings __bench__/read.ts"

[tasks.fmt]
description = "Format devdocs extension"
depends = ["//:install"]
run = [
  "biome check --write --config-path ../.. .",
  "rumdl fmt --config ../../.rumdl.toml .",
  "taplo format --config ../../.taplo.toml mise.toml",
]

[tasks.lint]
description = "Lint devdocs extension"
depends = ["//:install"]
run = [
  "biome ci --config-path ../.. .",
  "rumdl check --config ../../.rumdl.toml .",
  "taplo format --check --config ../../.taplo.toml mise.toml",
]

[tasks.probe-sources]
description = "Verify public documentation sources using disposable OS-temp cache, no credentials"
depends = ["//:install"]
run = "node --no-warnings __live__/sources.ts"

[tasks.verify-package]
description = "Verify relocated devdocs package"
depends = ["//:install"]
run = [
  { task = "//:build-ext", args = [
    "devdocs",
  ] },
  { task = "//:verify-packages", args = [
    "devdocs",
  ] },
  "node --no-warnings __serial__/package.ts",
]