[tasks.fmt] description = "Format firefox-bidi 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 firefox-bidi 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 firefox-bidi extension" depends = ["//:install"] run = [ { task = "//:test", args = ["extensions/firefox-bidi"] }, ] [tasks.check] description = "Check firefox-bidi extension" depends = ["//:install"] run = [ { task = "//:build", args = ["firefox-bidi"] }, { task = "//:build-ext", args = ["firefox-bidi"] }, ] [tasks.bench] description = "Microbenchmark the batch hot path (fake socket)" depends = ["//:install"] run = "node --no-warnings --experimental-strip-types __bench__/runBatch.bench.mts 30" [tasks.bench-e2e] description = "Benchmark batches against a real headless Firefox (spawns a browser)" depends = ["//:install"] usage = ''' arg "[pairs]" default="12" ''' run = "node --no-warnings --experimental-strip-types __bench__/e2e.mts {{ usage.pairs }}" [tasks.verify-package] description = "Build firefox-bidi and load the generated package relocated outside the checkout" depends = ["//:install"] run = [ { task = "//:build-ext", args = ["firefox-bidi"] }, { task = "//:verify-packages", args = ["firefox-bidi"] }, ]