From fde26f2ddac33654d1260b9044b2f0597f5047ad Mon Sep 17 00:00:00 2001 From: Lee Miller Date: Fri, 16 Feb 2024 21:28:36 +0200 Subject: [PATCH] Slightly edit the build script - copy apk; check package files in test.sh --- .buildbot/android/build.sh | 9 +++++---- .buildbot/android/test.sh | 6 ++++++ 2 files changed, 11 insertions(+), 4 deletions(-) create mode 100755 .buildbot/android/test.sh diff --git a/.buildbot/android/build.sh b/.buildbot/android/build.sh index 31fa06b8..10176ef3 100755 --- a/.buildbot/android/build.sh +++ b/.buildbot/android/build.sh @@ -1,8 +1,9 @@ -#!/bin/sh +#!/bin/bash export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 -cd packages/android +pushd packages/android buildozer android debug || exit $? -cd ../.. +popd + mkdir -p ../out -mv packages/android/bin/*.apk ../out \ No newline at end of file +cp packages/android/bin/*.apk ../out diff --git a/.buildbot/android/test.sh b/.buildbot/android/test.sh new file mode 100755 index 00000000..b61fac85 --- /dev/null +++ b/.buildbot/android/test.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +unzip -p packages/android/bin/*.apk assets/private.tar \ + | tar --list -z > package.list +cat package.list +cat package.list | grep '\.sql$' || exit 1