Tauri 2 + Vue app that draws the commit graph of the repository given on the command line. Branches can be hidden one by one or by patterns, runs of plain commits fold into a dotted line, and everything is reachable from the keyboard.
23 lines
601 B
TOML
23 lines
601 B
TOML
[tools]
|
|
node = "24"
|
|
pnpm = "11"
|
|
|
|
[tasks.dev]
|
|
description = "Run the app in development mode. Pass a repo path: mise run dev /path/to/repo"
|
|
run = "pnpm tauri dev -- --"
|
|
|
|
[tasks.test]
|
|
description = "Run unit tests"
|
|
run = "pnpm vitest run"
|
|
|
|
[tasks.check]
|
|
description = "Type-check the frontend and the Rust code"
|
|
run = ["pnpm 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 = [
|
|
"pnpm tauri build --no-bundle",
|
|
"install -Dm755 src-tauri/target/release/gites ~/.local/bin/gites",
|
|
]
|