remove warning about not using checked-in debug keystore from release

builds that won't use it regardless
This commit is contained in:
Eric House 2015-04-07 07:20:48 -07:00
parent 07615ff9d7
commit 6dee7e3784
2 changed files with 21 additions and 15 deletions

View file

@ -16,9 +16,12 @@
</target> </target>
<target name="my-pre-build"> <target name="my-pre-build">
<exec dir="." executable="../scripts/key-setup.sh"
failonerror="true" <exec dir="." executable="../scripts/key-setup.sh" failonerror="true"
/> >
<arg value="${build.target}"/>
</exec>
<exec dir="." executable="../scripts/ndksetup.sh" output="/dev/null" <exec dir="." executable="../scripts/ndksetup.sh" output="/dev/null"
failonerror="true"> failonerror="true">
<arg value="${build.target}"/> <arg value="${build.target}"/>

View file

@ -2,9 +2,10 @@
set -e -u set -e -u
if [ $1 = 'debug' ]; then
HOMELOC=~/.android/debug.keystore HOMELOC=~/.android/debug.keystore
HERELOC=$(pwd)/$(dirname $0)/debug.keystore HERELOC=$(pwd)/$(dirname $0)/debug.keystore
# SCRIPTS=
if [ -L $HOMELOC ]; then if [ -L $HOMELOC ]; then
if cmp $(readlink $HOMELOC) $HERELOC; then if cmp $(readlink $HOMELOC) $HERELOC; then
@ -23,3 +24,5 @@ else
echo "$0: creating link at $HOMELOC" echo "$0: creating link at $HOMELOC"
ln -sf $HERELOC $HOMELOC ln -sf $HERELOC $HOMELOC
fi fi
fi