xwords/xwords4/android/scripts/arelease_clone.sh
Andy2 92ec742f90 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.
2010-11-06 20:19:07 -07:00

20 lines
304 B
Bash
Executable file

#!/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