mirror of https://github.com/ARMmbed/mbed-os.git
[exporters] make sure to clean .build and BUILD when testing iar
parent
72cdf9d16f
commit
116d8dffdd
|
@ -165,8 +165,11 @@ class IAR(Exporter):
|
|||
os.remove(project_name + ".ewp")
|
||||
os.remove(project_name + ".ewd")
|
||||
os.remove(project_name + ".eww")
|
||||
# legacy output file location
|
||||
if exists('.build'):
|
||||
shutil.rmtree('.build')
|
||||
if exists('BUILD'):
|
||||
shutil.rmtree('BUILD')
|
||||
|
||||
if ret_code !=0:
|
||||
# Seems like something went wrong.
|
||||
|
|
Loading…
Reference in New Issue