24 lines
680 B
TOML
24 lines
680 B
TOML
[tools]
|
|
node = "24"
|
|
bun = "1.4"
|
|
rust = "1.99"
|
|
|
|
[tasks.dev]
|
|
description = "Run the app in development mode. Pass a repo path: mise run dev /path/to/repo"
|
|
run = "bun run tauri dev -- --"
|
|
|
|
[tasks.test]
|
|
description = "Run unit tests"
|
|
run = ["bun run vitest run", "cargo test --manifest-path src-tauri/Cargo.toml"]
|
|
|
|
[tasks.check]
|
|
description = "Type-check the frontend and the Rust code"
|
|
run = ["bun run vue-tsc --noEmit", "cargo check --manifest-path src-tauri/Cargo.toml"]
|
|
|
|
[tasks.install]
|
|
description = "Build a release binary and install it as ~/.local/bin/gites"
|
|
run = [
|
|
"bun run tauri build --no-bundle",
|
|
"install -Dm755 src-tauri/target/release/gites ~/.local/bin/gites",
|
|
]
|