Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

extensions/minimax/mise.toml

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

[tasks.check]
description = "Check minimax extension"
depends = ["//:install"]
run = [
  "tsc -b tsconfig.json",
  "node ../../scripts/extensions.ts check minimax",
  { task = "//:build-ext", args = [
    "minimax",
  ] },
]

[tasks.verify-package]
description = "Build minimax and verify relocated package"
depends = ["//:install"]
run = [{ task = "//:build-ext", args = ["minimax"] }, { task = "//:verify-packages", args = ["minimax"] }]

[tasks.verify-sdk]
description = "Verify relocated MiniMax against an explicitly installed Pi SDK with mocked HTTP"
depends = ["//:install"]
usage = 'arg "<sdk>" help="Absolute pi-coding-agent package directory"'
run = [{ task = "//:build-ext", args = ["minimax"] }, 'node --no-warnings __tests__/verify-sdk.ts "{{ usage.sdk }}"']

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