fix react src folder copy to dist
This commit is contained in:
parent
fccef474cf
commit
b00ee94225
1 changed files with 1 additions and 2 deletions
|
@ -906,8 +906,7 @@ class TargetAndroid(Target):
|
||||||
"Copy react files {}".format(react_dir))
|
"Copy react files {}".format(react_dir))
|
||||||
for pattern in react_src:
|
for pattern in react_src:
|
||||||
for fn in glob(expanduser(pattern.strip())):
|
for fn in glob(expanduser(pattern.strip())):
|
||||||
last_component = basename(fn)
|
self.buildozer.file_copytree(fn, react_dir)
|
||||||
self.buildozer.file_copytree(fn, join(react_dir, last_component))
|
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def serials(self):
|
def serials(self):
|
||||||
|
|
Loading…
Reference in a new issue