[build] fixed incorrect title for Android

This commit is contained in:
Dmitry Kunin 2013-10-04 11:46:36 +02:00
parent d6f08efa2f
commit 9abab73d71

View file

@ -1,10 +1,13 @@
export PATH=~/android-ndk-r9/:$PATH
cat countries_to_generate.txt | while read country; do
cp -f $country/index.dat ../../android/assets/
rm ../../android/build/apk/*
rm $country/*.apk
pushd ../../android/
./gradlew "-PGWMpn=com.guidewithme.`echo $country|tr '[:upper:]' '[:lower:]'`" "-PGWMapk=Guide With Me $country" "-PGWMappName=Guide With Me $country" assemble
popd
cp ../../android/build/apk/* $country/
done
cp -f Countries/$country/index.dat ../../android/assets/
rm ../../android/build/apk/*
rm $country/*.apk
pushd ../../android/
./gradlew "-PGWMpn=com.guidewithme.`echo $country|tr '[:upper:]' '[:lower:]'`" "-PGWMapk=Guide With Me $country" "-PGWMappName=Guide With Me $country" clean assembleRelease
popd
cp ../../android/build/apk/* Countries/$country/
done