mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 08:27:31 +09:00
Dactyloidae iOS initial commit
This commit is contained in:
parent
daa6179d22
commit
7154a0497e
2123 changed files with 197052 additions and 0 deletions
26
mobile/ios/buddybuild_postclone.sh
Normal file
26
mobile/ios/buddybuild_postclone.sh
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
# Only setup virtualenv if we intend on localizing the app.
|
||||
function setup_virtualenv {
|
||||
# Install Python tooling for localizations scripts
|
||||
echo password | sudo easy_install pip
|
||||
echo password | sudo -S pip install --upgrade pip
|
||||
echo password | sudo -S pip install virtualenv
|
||||
}
|
||||
|
||||
#
|
||||
# Import only the shipping locales (from shipping_locales.txt) on our Beta and
|
||||
# Release builds. Import all locales on Fennec_Enterprise, except for pull requests.
|
||||
#
|
||||
|
||||
git clone https://github.com/mozilla-mobile/ios-l10n-scripts.git || exit 1
|
||||
|
||||
if [ "$BUDDYBUILD_SCHEME" = "Firefox" ] || [ "$BUDDYBUILD_SCHEME" = "FirefoxBeta" ]; then
|
||||
setup_virtualenv
|
||||
./ios-l10n-scripts/import-locales-firefox.sh --release
|
||||
fi
|
||||
|
||||
if [ "$BUDDYBUILD_SCHEME" = "Fennec_Enterprise" ] && [ "$BUDDYBUILD_PULL_REQUEST" = "" ]; then
|
||||
setup_virtualenv
|
||||
./ios-l10n-scripts/import-locales-firefox.sh
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue