Files
comaps/data/benchmarks/update_benchmark.sh
Konstantin Pastbin e3e4a1985a Organic Maps sources as of 02.04.2025 (fad26bbf22ac3da75e01e62aa01e5c8e11861005)
To expand with full Organic Maps and Maps.ME commits history run:
  git remote add om-historic [om-historic.git repo url]
  git fetch --tags om-historic
  git replace squashed-history historic-commits
2025-05-08 21:10:51 +07:00

26 lines
725 B
Bash
Executable File

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 app.organicmaps
echo "install new build"
adb install bin/MapsWithMePro-release.apk
echo "start application"
adb shell am start -n app.organicmaps/app.organicmaps.DownloadResourcesActivity