diff --git a/buildozer/build-instructions.txt b/buildozer/build-instructions.txt index 8cf01dd9..03636f7a 100644 --- a/buildozer/build-instructions.txt +++ b/buildozer/build-instructions.txt @@ -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 diff --git a/buildozer/buildozer.init b/buildozer/buildozer.init index 9ee45a3d..d9f169a5 100755 --- a/buildozer/buildozer.init +++ b/buildozer/buildozer.init @@ -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' diff --git a/buildozer/buildozer.run b/buildozer/buildozer.run new file mode 100755 index 00000000..621a68a1 --- /dev/null +++ b/buildozer/buildozer.run @@ -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' diff --git a/buildozer/mkcards b/buildozer/mkcards index ecdb98d4..0a9bf460 100755 --- a/buildozer/mkcards +++ b/buildozer/mkcards @@ -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'