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 characters
| echo "Enabling PushService traces on your FFOS connected device..." | |
| AUXPATH=_____PUSH_____ | |
| echo "Getting OMNI.JA..." | |
| adb pull /system/b2g/omni.ja . | |
| mkdir $AUXPATH | |
| cd $AUXPATH | |
| unzip ../omni.ja | |
| rm ../omni.ja |
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 characters
| if [ $# -eq 0 ]; then | |
| echo "Indica carpeta dónde está el contenido para el omni.ja" | |
| exit | |
| fi | |
| cd $1 | |
| zip /tmp/omni.ja -r * | |
| cd .. | |
| adb shell stop b2g | |
| adb remount |
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 characters
| if [ $# -eq 0 ]; then | |
| echo "Indica carpeta dónde dejar el contenido del omni.ja" | |
| exit | |
| fi | |
| adb pull /system/b2g/omni.ja . | |
| mkdir $1 | |
| cd $1 | |
| unzip ../omni.ja | |
| cd .. |
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 characters
| ... | |
| # GIT | |
| # Add git branch name to prompt | |
| parse_git_branch() { | |
| git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(git::\1)/' | |
| } | |
| parse_svn_branch() { | |
| parse_svn_url | sed -e 's#^'"$(parse_svn_repository_root)"'##g' | awk -F / '{print "(svn::"$1 "/" $2 ")"}' |
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 characters
| if [ -z $1 ]; then | |
| echo "PR number needed !" | |
| exit -1 | |
| fi | |
| cat > /tmp/PR$1.html << EOF | |
| <!DOCTYPE html> | |
| <meta charset="utf-8"> | |
| <meta http-equiv="refresh" content="5;https://github.com/mozilla-b2g/gaia/pull/$1"> | |
| <title>Bugzilla Code Review</title> |
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 characters
| git clone ../notification_server/ | |
| cd notification_server | |
| git filter-branch --prune-empty --index-filter 'git rm --cached --ignore-unmatch node_modules/* test/jmeter/* test/jMeter/*' HEAD | |
| cd .. | |
| git clone notification_server notification_server_base | |
| rm -rf notification_server | |
| git clone ../notification_server/ | |
| cd notification_server | |
| git filter-branch --prune-empty --subdirectory-filter node_modules/ |