Created
February 17, 2013 10:29
-
-
Save chrox/4970916 to your computer and use it in GitHub Desktop.
build script for KPV touch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
SUMMARY="kindlepdfviewer-touch-nightly-`date +%Y%m%d`" | |
PROJECT="kindlepdfviewer-touch-package" | |
USER="**********@gmail.com" | |
PASSWORD="**************" | |
echo "clone kindlepdfviewer to dev directory" | |
cd ~/dev | |
rm -rf kindlepdfviewer-touch | |
git clone git://github.com/hwhw/kindlepdfviewer.git kindlepdfviewer-touch | |
cd kindlepdfviewer-touch | |
git checkout new_ui_code | |
echo "compile and build customupdate" | |
PATH="/opt/arm-2012.03/bin:$PATH" | |
make fetchthirdparty | |
make thirdparty kpdfview customupdate | |
kpvzip=`find kindlepdfviewer*.zip |sort -r |head -1` | |
# upload to Google code | |
~/bin/googlecode_upload.py -s $SUMMARY -p $PROJECT -u $USER -w $PASSWORD $kpvzip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment