local-caldir
GitHub指导将 renCal 指向本地 caldir 源码进行开发测试,通过修改 Cargo 配置和构建脚本来替换依赖,支持验证未发布的核心或提供商变更。
Trigger Scenarios
Install
npx skills add t4t5/rencal --skill local-caldir -g -y
SKILL.md
Frontmatter
{
"name": "local-caldir",
"description": "Develop renCal against a local caldir checkout instead of the pinned release. Use when the user wants to test unreleased caldir-core or provider changes, or asks to \"use local caldir\" \/ \"point rencal at my caldir checkout\"."
}
Local caldir checkout
renCal pins caldir-core (crate) and the provider binaries (release tag) separately in src-tauri/Cargo.toml. To develop against a local checkout (../caldir by default):
-
Providers:
just build-providers-local [path]builds them from the checkout intosrc-tauri/providers/. -
caldir-core: create a gitignored
.cargo/config.tomlin the repo root that patches the crate (path is relative to the repo root):[patch.crates-io] caldir-core = { path = "../caldir/caldir-core" }This rewrites
src-tauri/Cargo.lock; do not commit that change. -
Back to the pinned release: delete
.cargo/config.tomlandsrc-tauri/providers/. The nextjust devre-downloads the pinned providers.
Version History
- b1d450c Current 2026-09-22 03:34


