Luigit
repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by admin

extensions/os-notifier/mise.toml

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

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

[tasks.verify-package]
description = "Build os-notifier and verify its relocated runtime and Android focus resource"
depends = ["//:install"]
env = { PI_EXT_VERIFY_OS_NOTIFIER_PACKAGE = "1" }
run = [
  { task = "//:build-ext", args = ["os-notifier"] },
  { task = "//:verify-packages", args = ["--testNamePattern", "os-notifier"] },
  { task = "//:test", args = ["extensions/os-notifier/__serial__/package.test.ts"] },
]

[tasks.build-focus-helper]
description = "Rebuild committed Android focus JAR (requires JDK 21 and d8)"
run = "node android/build.mjs"

[tasks.coverage]
description = "Non-gating V8 coverage for os-notifier extension"
depends = ["//:install"]
run = [{ task = "//:coverage", args = ["os-notifier"] }]

[tasks.mutate]
description = "Author-driven mutation testing for os-notifier extension. Usage: mutate <target>"
depends = ["//:install"]
usage = 'arg "<target>" help="Path under this extension to mutate"'
run = 'mise run //:mutate os-notifier "{{ usage.target }}"'

[tasks.fuzz]
description = "Author-driven fuzz campaigns for os-notifier extension. Usage: fuzz <target>"
depends = ["//:install"]
usage = 'arg "<target>" help="Fuzz target name under __fuzz__"'
run = 'mise run //:fuzz os-notifier "{{ usage.target }}"'