Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

extensions/bak/mise.toml

Raw
[tasks.e2e-s3]
description = "Run bak real S3 storage E2E (uploads/deletes objects and updates the shared catalog)"
depends = ["//:install"]
env.PI_BAK_E2E_S3 = "1"
run = "npx vitest run --config vitest.e2e.config.ts"

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

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

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