Slightly edit the build script - copy apk; check package files in test.sh
This commit is contained in:
parent
d08b07dd67
commit
fde26f2dda
|
@ -1,8 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/bash
|
||||||
export LC_ALL=en_US.UTF-8
|
export LC_ALL=en_US.UTF-8
|
||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
cd packages/android
|
pushd packages/android
|
||||||
buildozer android debug || exit $?
|
buildozer android debug || exit $?
|
||||||
cd ../..
|
popd
|
||||||
|
|
||||||
mkdir -p ../out
|
mkdir -p ../out
|
||||||
mv packages/android/bin/*.apk ../out
|
cp packages/android/bin/*.apk ../out
|
||||||
|
|
6
.buildbot/android/test.sh
Executable file
6
.buildbot/android/test.sh
Executable file
|
@ -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
|
Reference in New Issue
Block a user