copy src/main/res to dist
This commit is contained in:
parent
3ddaf220d0
commit
cb57e4ea1c
1 changed files with 8 additions and 1 deletions
|
@ -915,7 +915,14 @@ class TargetAndroid(Target):
|
|||
assets_src = join(pattern, "assets")
|
||||
for fn in glob(expanduser(assets_src.strip())):
|
||||
self.buildozer.file_copytree(fn, assets_dir)
|
||||
|
||||
|
||||
# copy src/main/res too
|
||||
res_dir = join(dist_dir, "src", "main", "res")
|
||||
for pattern in java_src:
|
||||
res_src = join(pattern, "res")
|
||||
for fn in glob(expanduser(res_src.strip())):
|
||||
self.buildozer.file_copytree(fn, res_dir)
|
||||
|
||||
@property
|
||||
def serials(self):
|
||||
if hasattr(self, '_serials'):
|
||||
|
|
Loading…
Reference in a new issue