ARMmbed / yotta

DEPRECATED: yotta build; better software
Apache License 2.0
164 stars 64 forks source link

Run preGenerate/preBuild/postBuild in the main module.json #753

Closed Mousius closed 8 years ago

Mousius commented 8 years ago

I saw the new preBuild script and wanted to use it to generate some certificate files but it doesn't work from the main module.json only from dependencies. I've fixed that here and also added the other scripts in this part of the code.

Also renamed a variable to make it a bit clearer as all_components confused me since it's not all components. And added tmp_yotta_settings as it was generated and I didn't want to commit more than you'd want :smile_cat:.

autopulated commented 8 years ago

Ah, looks great, thanks!

:white_check_mark: accepting under mbed 2.0 CLA click-through (as DaMouse404)

I'll merge once the CI goes through.