use release

This commit is contained in:
Steve Biedermann 2026-11-05 10:55:32 +01:00
parent 1e586d41a4
commit d16e972ca8
1 changed files with 12 additions and 5 deletions

View File

@ -3,7 +3,11 @@ tombi = "latest"
[tasks.format]
description = "Format TOML, Rust, and extension files"
run = ["tombi format --offline", "cargo fmt --all", "npm --prefix vscode run format"]
run = [
"tombi format --offline",
"cargo fmt --all",
"npm --prefix vscode run format",
]
[tasks.test]
description = "Run Rust and extension tests"
@ -27,19 +31,22 @@ run = "npm --prefix vscode run package"
[tasks.serve]
description = "Start the Runa image server on localhost"
run = "cargo run -p runa"
run = "cargo run --release -p runa"
[tasks.repl]
description = "Start the Runa REPL connected to the image server"
run = "cargo run -p runa-cli -- repl"
run = "cargo run --release -p runa-cli -- repl"
[tasks.ui]
description = "Start the Runa graphical world client"
run = "cargo run -p runa-world"
run = "cargo run --release -p runa-world"
[tasks.lint]
description = "Check Rust targets and the TypeScript extension"
run = ["cargo clippy --workspace --all-targets -- -D warnings", "npm --prefix vscode run lint"]
run = [
"cargo clippy --workspace --all-targets -- -D warnings",
"npm --prefix vscode run lint",
]
[tasks.pre-commit]
description = "Format, lint, and test before committing"