mirror of
https://github.com/shlomif/PySolFC.git
synced 2025-04-05 00:02:29 -04:00
27 lines
430 B
Bash
Executable file
27 lines
430 B
Bash
Executable file
#!/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" == "test" ]
|
|
then
|
|
echo '### ... release.test'
|
|
buildozer --profile test android release
|
|
exit 0
|
|
fi
|
|
|
|
if [ "$1" ]
|
|
then
|
|
echo '### ... release'
|
|
buildozer android release
|
|
else
|
|
echo '### ... debug'
|
|
buildozer android debug
|
|
fi
|
|
|
|
echo '### end run'
|