fix react src folder copy to dist

This commit is contained in:
Akinwale Ariwodola 2017-12-28 08:04:15 +01:00
parent fccef474cf
commit b00ee94225

View file

@ -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):