дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-25 02:44:37 +02:00
dogfood:local builds and installs the local dogfood app (--build-only skips installation); dogfood:all <remote_name> runs it alongside dogfood:remote in parallel with [local]/[remote] prefixed output, validates the SSH configuration before the local build starts, stops the sibling process tree on failure, and runs the remote restart prompt once after both finish. AGENTS.md, mise tasks and the setup docs use the new names. Co-authored-by: dengliu <[email protected]>
50 рядки
1.4 KiB
TOML
50 рядки
1.4 KiB
TOML
[tools]
|
|
node = "22.23.5"
|
|
# Use the JS distribution: pnpm's standalone release doesn't cover Intel Macs.
|
|
"npm:pnpm" = "11.28.12"
|
|
rust = { version = "1.100.0", profile = "minimal", components = ["rustfmt", "clippy"] }
|
|
|
|
[tasks.setup]
|
|
description = "Install frontend dependencies for this worktree"
|
|
run = "pnpm install"
|
|
|
|
[tasks.dev]
|
|
description = "Launch the desktop app with worktree isolation"
|
|
run = "pnpm tauri dev"
|
|
|
|
[tasks."dev:app"]
|
|
description = "Launch the desktop app with the global Tauri API enabled"
|
|
run = "pnpm dev:app"
|
|
|
|
[tasks.build]
|
|
description = "Typecheck, bundle and verify the frontend"
|
|
run = "pnpm build"
|
|
|
|
[tasks."dogfood:local"]
|
|
description = "Build and locally install the dogfood desktop app"
|
|
run = "pnpm dogfood:local"
|
|
|
|
[tasks."dogfood:remote"]
|
|
description = "Build and install a local dogfood openidea-server on a configured SSH remote"
|
|
run = "pnpm dogfood:remote"
|
|
|
|
[tasks."dogfood:all"]
|
|
description = "Build and install the local dogfood desktop app and remote openidea-server in parallel"
|
|
run = "pnpm dogfood:all"
|
|
|
|
[tasks.test]
|
|
description = "Run the frontend and Rust workspace tests"
|
|
run = ["pnpm test", "cargo test --workspace"]
|
|
|
|
[tasks.check]
|
|
description = "Check formatting, lint, types and unused code, then run the tests"
|
|
run = [
|
|
"pnpm format:check",
|
|
"pnpm lint",
|
|
"pnpm typecheck",
|
|
"pnpm knip",
|
|
"cargo fmt --all --check",
|
|
"cargo clippy --workspace --all-targets -- -D warnings",
|
|
{ task = "test" },
|
|
]
|