doxa-maps/deployment/src-tauri/.gitignore
Doxa Maps e19697673d
Some checks are pending
Deploy to GitHub Pages / build (push) Waiting to run
Deploy to GitHub Pages / deploy (push) Blocked by required conditions
Doxa Maps — the map bundler, 7 production plugins and the Experimental shelf
2026-09-25 20:07:59 +00:00

19 lines
1.2 KiB
Text

# Cargo build output — ~2GB of compiled dependencies, regenerated by `cargo check`/`cargo build`.
# Mirrors capacitor/android, where only the generated assets/public/ is ignored: the COMMITTED
# source here is Cargo.toml + build.rs + src/ + tauri.conf.json + icons/.
/target
# ★ Cargo.lock is COMMITTED (corrected 2026-09-22) — it was ignored here by association with
# /target and /gen, which are genuinely regenerated. A lockfile is NOT build output: it is the
# RESOLUTION RECORD, the only artifact that makes `cargo build` reproducible. Cargo's own rule
# splits on crate type — commit it for a BINARY, ignore it for a library — and `cargo metadata`
# reports this crate as kinds=['bin'] (src/main.rs, no lib.rs).
#
# WHY IT MATTERS HERE: Cargo.toml pins nothing tighter than `tauri = { version = "2" }`, while
# the lockfile pins 430 packages. Without it an inheritor building next month resolves a
# different dependency tree than the one that produced the shipped 64 MB binary — and deploy
# method 5 is already 'built, not shot', so its build must at least be repeatable.
# gen/ is emitted by tauri-build on every compile (ACL + capability schemas).
# Generated, not authored — same rule as capacitor's assets/public/.
/gen