mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-24 07:58:34 +01:00
remove warning about not using checked-in debug keystore from release
builds that won't use it regardless
This commit is contained in:
parent
07615ff9d7
commit
6dee7e3784
2 changed files with 21 additions and 15 deletions
|
@ -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}"/>
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue