mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
Android support:
- mkcards restored - new file buildozer.run - build instructions adapted
This commit is contained in:
parent
04c9f80a41
commit
1cfb7c3f69
4 changed files with 21 additions and 14 deletions
|
@ -40,7 +40,7 @@ setup, to reflect the local situation.
|
|||
Execution of buildozer needs some time. You
|
||||
will have to accept a lizense from google.
|
||||
|
||||
$> buildozer android debug
|
||||
$> ./buildozer.run
|
||||
|
||||
Finally if all worked fine, the apk file is found in
|
||||
directory ./bin/.
|
||||
|
@ -52,7 +52,7 @@ to get better information on what to do.
|
|||
Make a release Version:
|
||||
-----------------------
|
||||
|
||||
$> buildozer android release
|
||||
$> ./buildozer.run release
|
||||
|
||||
Without signing information the result apk is a
|
||||
'release-unsigned' that can be signed afterwards
|
||||
|
|
|
@ -37,8 +37,4 @@ echo '### eval version'
|
|||
|
||||
./version.py > ${tmpdir}/version.txt
|
||||
|
||||
echo '### add more java heap space for gradle'
|
||||
|
||||
# export GRADLE_OPTS="-Xms1724m -Xmx5048m -Dorg.gradle.jvmargs='-Xms1724m -Xmx5048m'"
|
||||
|
||||
echo '### end init'
|
||||
|
|
19
buildozer/buildozer.run
Executable file
19
buildozer/buildozer.run
Executable file
|
@ -0,0 +1,19 @@
|
|||
#!/bin/bash
|
||||
#set -eux
|
||||
|
||||
echo '### prepare jvm heap for gradle'
|
||||
|
||||
export GRADLE_OPTS="-Xms1724m -Xmx5048m -Dorg.gradle.jvmargs='-Xms1724m -Xmx5048m'"
|
||||
|
||||
echo '### run buildozer'
|
||||
|
||||
if [ "$1" ]
|
||||
then
|
||||
echo '### ... release'
|
||||
buildozer android release
|
||||
else
|
||||
echo '### ... debug'
|
||||
buildozer android debug
|
||||
fi
|
||||
|
||||
echo '### end run'
|
|
@ -25,12 +25,4 @@ echo '### processing cardsets'
|
|||
done
|
||||
)
|
||||
|
||||
echo '### remove big cardsets'
|
||||
{
|
||||
cd ${cardsets_dir}
|
||||
rm -rf cardset-louie-mantia-hanafuda
|
||||
rm -rf cardset-neo-tarock
|
||||
rm -rf cardset-neo-hex
|
||||
}
|
||||
|
||||
echo '### end cardsets'
|
||||
|
|
Loading…
Add table
Reference in a new issue