# Strip upstream (ArtCraft / Discord) branding. Run: perl tools/craft-skills/skills/debrand/debrand.pl .  (--check in CI)
delete docs/brand
# MIT/Apache texts stay verbatim. The copyright holder line stays everywhere (legal requirement).
keep ^(LICENSE-(MIT|APACHE)|\.debrand)$
dropline ^crates/ui-egui/locales/.*\.json$ :: \s*".*(?:ArtCraft|Discord)
dropline ^assets/ATTRIBUTION\.md$ :: \|\s*`docs/brand/
sub (?s)\nThe ArtCraft name, wordmark and logos in docs/brand/.*?LICENSE-brand\.txt\.\n =>
sub (?s)- \*\*Exception: `docs/brand/`\.\*\*.*?derive from them\.\n =>
sub drawn in ArtCraft\) => drawn by hand)
sub made in ArtCraft \( => drawn by hand (
sub owner in ArtCraft \(no => owner, drawn by hand (no
sub https://getartcraft\.com/apps/lightcraft => https://github.com/storytold/lightcraft
sub get it from getartcraft\.com/apps/photocraft => get it from github.com/storytold/photocraft
sub Get it from getartcraft\.com/apps/photocraft => Get it from github.com/storytold/photocraft
sub https://discord\.gg/artcraft => https://github.com/storytold/lightcraft/issues
forbid (?i)artcraft(?! Team and the LightCraft contributors)
forbid (?i)discord
