Depends on Group C (Rust toolchain). Adds Tauri CLI and its Linux system prerequisites. macOS uses system Xcode frameworks — no new brew packages needed there.
Changes
.chezmoi.toml.tmpl — new data flag
[data]
install_tauri = true
Default on. Opt-out exists but most dev machines should have it.
$linuxSpecific / $linuxWithDocker / $linuxWithoutDocker
Add under {{ if .install_tauri }}:
libwebkit2gtk-4.1-dev
libayatana-appindicator3-dev
librsvg2-dev
pkg-config
libssl-dev
pkg-config and libssl-dev are commonly useful beyond Tauri; leaving them in the Tauri-gated block is fine since machines without Tauri will still have other ways to pull them in (or don't need them).
New run_once_after_install-tauri.sh.tmpl
Guarded by {{ if .install_tauri }} and command -v cargo:
if command -v cargo >/dev/null 2>&1; then
cargo install create-tauri-app --locked
cargo install tauri-cli --locked
fi
If cargo isn't present (Group C hasn't run yet / disabled), the script is a silent no-op. Makes the dependency on Group C soft at runtime — cleaner than hard-failing.
dot_local/bin/executable_sysup — doctor entries
tools_dev or a new tools_lang: add cargo-tauri, create-tauri-app.
get_version(): cases for cargo-tauri --version, create-tauri-app --version.
Verification checklist
Related
- Depends on Group C (Rust toolchain) — filed separately.
- No cross-refs to the
dev repo.
Depends on Group C (Rust toolchain). Adds Tauri CLI and its Linux system prerequisites. macOS uses system Xcode frameworks — no new brew packages needed there.
Changes
.chezmoi.toml.tmpl— new data flagDefault on. Opt-out exists but most dev machines should have it.
$linuxSpecific/$linuxWithDocker/$linuxWithoutDockerAdd under
{{ if .install_tauri }}:pkg-configandlibssl-devare commonly useful beyond Tauri; leaving them in the Tauri-gated block is fine since machines without Tauri will still have other ways to pull them in (or don't need them).New
run_once_after_install-tauri.sh.tmplGuarded by
{{ if .install_tauri }}andcommand -v cargo:If cargo isn't present (Group C hasn't run yet / disabled), the script is a silent no-op. Makes the dependency on Group C soft at runtime — cleaner than hard-failing.
dot_local/bin/executable_sysup— doctor entriestools_devor a newtools_lang: addcargo-tauri,create-tauri-app.get_version(): cases forcargo-tauri --version,create-tauri-app --version.Verification checklist
chezmoi execute-templaterenders cleanly withinstall_tauri=trueand=false.install_tauri=falseproduces no references to webkit2gtk/appindicator/librsvg in the rendered output.cargo tauri --versionworks.cargo-tauriabsent;sysup doctorreports it missing rather than erroring.sysup doctorshows tauri entries; no brew packages added for Tauri specifically.Related
devrepo.