fix for Blondie

This commit is contained in:
applications4android 2012-09-25 21:38:00 +05:30
parent 14d9d4a819
commit 2347071ae0
2 changed files with 28 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*.class
*.apk
*.dex
*.ap_

24
create_tp.sh Executable file
View File

@ -0,0 +1,24 @@
#!/bin/bash
# COMMENTS:
# Creates the .tp file out of the project directories.
#
# USAGE:
# create_tp.sh [-h]
# -h Print this help and exit
#
# NOTE:
# . This script should be executed from TOT!
#
if [ "$1" = "-h" ]; then
head -n6 $0 | sed -e 's/!\/bin\/bash/' -e 's/^\#//'
exit 0
fi
version=`grep versionName ComicReader/AndroidManifest.xml | sed -e 's/.*=\"//' -e 's/\".*//'`
filename="ComicReader_$version.tp"
echo "Deleting the 'bin' directories ..."
rm -rf 'ComicReader/bin' 'ComicReaderTest/bin'
echo "Creating zip in the name of $filename ..."
"cd" ..
zip -q -r $filename 'ComicReader'