stylo: Copy binding files even if the build failed.

It's easier to stash the changes away than to find the generated files.
This commit is contained in:
Emilio Cobos Álvarez 2016-12-25 01:40:29 +01:00
parent f08e851f81
commit 193421969d
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -434,7 +434,7 @@ class MachCommands(CommandBase):
print("GeckoLib build completed in %s" % format_duration(elapsed))
if with_gecko is not None and ret == 0:
if with_gecko is not None:
print("Copying binding files to style/gecko_bindings...")
build_path = path.join(geckolib_build_path, "release" if release else "debug", "")
target_style_path = find_dep_path_newest("style", build_path)