Fix android build once again, add SQL-files #2182
|
@ -94,8 +94,8 @@ RUN useradd -m -U builder && mkdir /android
|
|||
|
||||
WORKDIR /android
|
||||
|
||||
RUN chown -R builder.builder /android "${ANDROID_SDK_HOME}/.android" \
|
||||
&& chmod -R go+w "${ANDROID_SDK_HOME}/.android"
|
||||
RUN chown -R builder.builder /android "${ANDROID_SDK_HOME}" \
|
||||
&& chmod -R go+w "${ANDROID_SDK_HOME}"
|
||||
|
||||
USER builder
|
||||
|
||||
|
|
|
@ -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
|
||||
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
|
7
.dockerignore
Normal file
7
.dockerignore
Normal file
|
@ -0,0 +1,7 @@
|
|||
bin
|
||||
build
|
||||
dist
|
||||
__pycache__
|
||||
.buildozer
|
||||
.tox
|
||||
mprofile_*
|
5
.gitignore
vendored
5
.gitignore
vendored
|
@ -12,6 +12,7 @@ src/**/*.so
|
|||
src/**/a.out
|
||||
build/lib.*
|
||||
build/temp.*
|
||||
bin
|
||||
dist
|
||||
*.egg-info
|
||||
docs/_*/*
|
||||
|
@ -19,6 +20,8 @@ docs/autodoc/
|
|||
build
|
||||
pyan/
|
||||
**.coverage
|
||||
coverage.xml
|
||||
**htmlcov*
|
||||
**coverage.json
|
||||
|
||||
.buildozer
|
||||
.tox
|
||||
|
|
|
@ -13,7 +13,7 @@ package.domain = org.mock
|
|||
source.dir = ../../src
|
||||
|
||||
# (list) Source files to include (let empty to include all the files)
|
||||
source.include_exts = py,png,jpg,kv,atlas,tflite
|
||||
source.include_exts = py,png,jpg,kv,atlas,tflite,sql
|
||||
|
||||
# (list) List of inclusions using pattern matching
|
||||
#source.include_patterns = assets/*,images/*.png
|
||||
|
|
Reference in New Issue
Block a user