Switch from pnpm to Bun; install Rust through mise; update Tauri packages on both sides
ci / check (push) Successful in 5m9s
ci / check (push) Successful in 5m9s
This commit is contained in:
@@ -1,22 +1,23 @@
|
||||
[tools]
|
||||
node = "24"
|
||||
pnpm = "11"
|
||||
bun = "1.4"
|
||||
rust = "1.98.1"
|
||||
|
||||
[tasks.dev]
|
||||
description = "Run the app in development mode. Pass a repo path: mise run dev /path/to/repo"
|
||||
run = "pnpm tauri dev -- --"
|
||||
run = "bun run tauri dev -- --"
|
||||
|
||||
[tasks.test]
|
||||
description = "Run unit tests"
|
||||
run = "pnpm vitest run"
|
||||
run = "bun run 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"]
|
||||
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 = [
|
||||
"pnpm tauri build --no-bundle",
|
||||
"bun run tauri build --no-bundle",
|
||||
"install -Dm755 src-tauri/target/release/gites ~/.local/bin/gites",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user