-
Notifications
You must be signed in to change notification settings - Fork 9.6k
misc(build): include locale files in devtools roll #9639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
| lh_locales_dir="lighthouse-core/lib/i18n/locales/" | ||
| fe_locales_dir="$frontend_dir/audits_worker/lighthouse/locales/" | ||
|
|
||
| cp -r "$lh_locales_dir" "$fe_locales_dir" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| fe_locales_dir="$frontend_dir/audits_worker/lighthouse/locales" | ||
|
|
||
| cp -r "$lh_locales_dir" "$fe_locales_dir" | ||
| find $lh_locales_dir -name '*.json' ! -name '*.ctc.json' -exec cp {} "$fe_locales_dir" \; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fine as long as the folder is guaranteed to exist. might suggest a quick mkdir -p $fe_locales_dir to be explicit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good call, especially while it's not landed.
connorjclark
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/me bashfully approves

Preparing for this to land:
https://chromium-review.googlesource.com/c/chromium/src/+/1784959
the only real change here is 51-56. the rest is refactors.