Build Cadmus on Linux and macOS hosts using xtask. Use when asked how to compile, test, lint, or run the project locally.
中文简介正在准备中。当前显示原文说明。
Regenerate `.sqlx/` cached metadata when adding or modifying `sqlx::query!`, `sqlx::query_as!`, or `sqlx::query_scalar!` macros.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Regenerate .sqlx/ cached metadata when adding or modifying sqlx::query!,
sqlx::query_as!, or sqlx::query_scalar! macros.
DATABASE_URL must point to a migrated SQLite databasesqlx-cli must be availablecargo sqlx prepare --all --workspace -- --tests
The -- --tests flag ensures #[cfg(test)] queries are also cached.
After regenerating:
cargo check --all-targets
cargo test --workspace
Commit the updated .sqlx/ files alongside the code changes.
还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Build Cadmus on Linux and macOS hosts using xtask. Use when asked how to compile, test, lint, or run the project locally.
中文简介正在准备中。当前显示原文说明。
Build, test, and lint Cadmus from a jj sibling workspace that has no .git (non-colocated checkout). Use when jj workspace root is a sibling tmp/agent workspace and builds fail with git submodule or .gitmodules errors, empty thirdparty/ sources, cache-marker misses, or missing sqlite.
中文简介正在准备中。当前显示原文说明。
Cross-compile Cadmus for Kobo e-reader devices (ARM Linux). Use this when asked to build a Kobo release, cross-compile for ARM, or prepare a device binary.
中文简介正在准备中。当前显示原文说明。
Run clippy locally and report only issues in the current diff, matching the CI reviewdog flow. Use when asked how to lint changed code or get clippy feedback on a branch before pushing.
中文简介正在准备中。当前显示原文说明。
Resolve failed Renovate or Dependabot dependency update PRs by fixing version constraints, API breaking changes, and verifying build/test/format compliance. Use when a dependency bump PR fails CI, Cargo cannot select versions, or a crate update requires code migration.
中文简介正在准备中。当前显示原文说明。
Build the full Cadmus documentation website (mdBook + cargo doc + Storybook + Next.js). Use this when asked to build, preview, or update the documentation site.
中文简介正在准备中。当前显示原文说明。