mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-06-30 08:25:43 -04:00
fix(docs): stop builds from churning tracked docs screenshots (#6012)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -95,8 +95,12 @@ tasks
|
||||
}
|
||||
.configureEach { dependsOn(syncDocsToComposeResources) }
|
||||
|
||||
// FR-038: Ensure screenshots are generated before syncing docs resources
|
||||
syncDocsToComposeResources.configure { dependsOn(":screenshot-tests:copyDocsScreenshots") }
|
||||
// ponytail: do NOT wire copyDocsScreenshots into the build. It writes into the tracked
|
||||
// docs/assets/screenshots/, so a build-time dependsOn rewrote those PNGs on every assemble/test
|
||||
// run and churned the working tree. The app bundles the committed copies as-is; regenerate on
|
||||
// demand for local viewing (./gradlew :screenshot-tests:copyDocsScreenshots) and `git checkout` to
|
||||
// clean, or commit deliberately when refreshing the docs/Jekyll image set. Add a CI staleness gate
|
||||
// if drift becomes a problem.
|
||||
|
||||
val syncTranslatedDocsToComposeResources by
|
||||
tasks.registering(Copy::class) {
|
||||
|
||||
Reference in New Issue
Block a user