Skip to content

Instantly share code, notes, and snippets.

@chrox
Created February 17, 2013 10:29
Show Gist options
  • Save chrox/4970916 to your computer and use it in GitHub Desktop.
Save chrox/4970916 to your computer and use it in GitHub Desktop.
build script for KPV touch
#!/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