Welcome to mirror list, hosted at ThFree Co, Russian Federation.

update_benchmark.sh « benchmarks « data - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e85a5f1669fe9d3a6dbd4bef743246b5633cea1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
echo "start update benchmark system"
echo "get result from device"
filedate=`date +%d-%m-%y`
filepath=~/Dropbox/results/$filedate
filepath+="_result.txt"
adb pull /mnt/sdcard/MapsWithMe/bench/results.txt $filepath
cd ~/dev/omim/
echo "current work dir : " $PWD
git checkout master
echo "pull upstream"
git fetch upstream
git merge upstream/master
echo "move to android dir"
cd android/MapsWithMePro/
echo "current work dir : " $PWD
echo "rebuild application"
ant clean
ant release
echo "uninstall application from device"
adb uninstall com.mapswithme.maps.pro
echo "install new build"
adb install bin/MapsWithMePro-release.apk
echo "start application"
adb shell am start -n com.mapswithme.maps.pro/com.mapswithme.maps.DownloadResourcesActivity