Skip to content

Commit ccfd420

Browse files
committed
Add audit branding script for rebranding process
1 parent 650b88e commit ccfd420

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

scripts/audit-branding.sh

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/usr/bin/env bash
2+
set -e
3+
4+
ROOT="${1:-.}"
5+
6+
echo "Auditing branding in: $ROOT"
7+
echo
8+
9+
rg -n \
10+
"Zen Browser|Zen|Firefox|Mozilla|zen-browser|app.zen_browser|org.mozilla|mozilla.org|firefox.com" \
11+
"$ROOT" \
12+
--glob '!**/.git/**' \
13+
--glob '!**/node_modules/**' \
14+
--glob '!**/obj*/**' \
15+
--glob '!**/third_party/**' \
16+
--glob '!**/LICENSE*' \
17+
--glob '!**/NOTICE*' \
18+
--glob '!**/legal/**' \
19+
|| true

0 commit comments

Comments
 (0)