script to build from a clean tree. I'm getting emacs and git tmpfile

picked up by the android build system and incorporated into .apks;
this will avoid that.
This commit is contained in:
Andy2 2010-11-06 20:19:07 -07:00
parent d2782af487
commit 92ec742f90

View file

@ -0,0 +1,20 @@
#!/bin/sh
BUILDIR=/tmp/$(basename $0)_build_$$
CURDIR=$(pwd)
SRCDIR=${CURDIR}/../../../
echo $BUILDIR
echo $SRCDIR
ls $SRCDIR
mkdir -p $BUILDIR
cd $BUILDIR
git clone $SRCDIR BUILD
cd BUILD
git checkout android_branch
./xwords4/android/scripts/arelease.sh $*
cp *.apk /tmp
cd $CURDIR
rm -rf $BUILDIR