Skip to content

Conversation

bridadan
Copy link
Contributor

mbed CLI was creating the BUILD directory even in cases where it wasn't needed. This PR defers the creation of the BUILD dir until before compile steps only.

This should fix #413.

mbed/mbed.py Outdated
+ ['-t', tchain, '-m', target]
+ list(chain.from_iterable(izip(repeat('--profile'), profile or [])))
+ list(chain.from_iterable(izip(repeat('--source'), source)))
+ ['--build', build]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you align build with build_path naming below for consistency?

mbed CLI was creating the BUILD directory even in cases where it wasn't
needed. This PR deferes the creation of the BUILD dir until before
compile steps only.
@bridadan
Copy link
Contributor Author

Thanks for the feedback @screamerbg, could you take a look again?

@screamerbg
Copy link
Contributor

Thanks :)

@screamerbg screamerbg merged commit 708f638 into ARMmbed:master Jan 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUILD folder always created

2 participants