fix(pbs): exclude transient state from packaged example knowledge
Keep canonical asset identities and verify cache-independent packaging and installed references. Work: WRK-0027. Validation: make -C tooling verify, run 20261127T004152Z-e028bb55, PASSED.
This commit is contained in:
@@ -17,7 +17,10 @@ val pbsResources = layout.projectDirectory.dir("src/main/resources")
|
||||
val beaconWorkshop = rootProject.layout.projectDirectory.dir("test-projects/beacon-workshop")
|
||||
val beaconFiles = fileTree(beaconWorkshop) {
|
||||
include("src/**", "assets/**", "tools/*.py", "*.md", "prometeu.json", ".gitignore")
|
||||
exclude("**/__pycache__/**")
|
||||
// Local packer state and in-flight publications are not example source material.
|
||||
// Keep assets/.prometeu/index.json: it owns the canonical asset identities.
|
||||
exclude("assets/.prometeu/cache.json", "**/__pycache__/**",
|
||||
"**/.asset-publish-*.tmp", "**/.record-*.tmp", "**/.animation-*.tmp")
|
||||
}
|
||||
val generatePbsKnowledge by tasks.registering(Sync::class) {
|
||||
from(pbsSpecs) { include("*.md"); into("pbs-knowledge/specs") }
|
||||
|
||||
Reference in New Issue
Block a user