Created
November 11, 2013 08:21
Revisions
-
dwchiang created this gist
Nov 11, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ #! /usr/bin/env bash # Link https://l10n.etherpad.mozilla.org/gaia-multilocale localecode="zh-TW" branch="master" # This line force reads $PATH from .profile on OS X # Ref: http://www.tech-recipes.com/rx/2621/os_x_change_path_environment_variable/ cd ~ . ./.profile echo $PATH # Pull Gaia, pull locale and make cd ~/b2g/gaia/ git checkout $branch git reset --hard git pull cd locales/$localecode hg pull -u cd ../.. make clean && PRODUCTION=1 make install-gaia MOZILLA_OFFICIAL=1 GAIA_DEFAULT_LOCALE=$localecode LOCALES_FILE=locales/languages_all.json LOCALE_BASEDIR=locales/ REMOTE_DEBUGGER=1 GAIA_KEYBOARD_LAYOUTS=en,zh-Hans-Pinyin,zh-Hant-Zhuyin