[build] fixed incorrect title for Android
This commit is contained in:
parent
d6f08efa2f
commit
9abab73d71
1 changed files with 11 additions and 8 deletions
|
@ -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
|
||||
|
|
Reference in a new issue