janjongboom / mbed-simulator

Experimental simulator for Mbed OS 5 applications
Other
175 stars 65 forks source link

Build tools no longer pick up components since #33 #35

Closed janjongboom closed 5 years ago

janjongboom commented 5 years ago

This is a hotfix for #34. An issue arised where components are no longer loaded since #33 landed. This is because the list of included directories now only contains folders that contain .h or .hpp files, which excludes the components folders (which contain .js). I assumed the list only was used to invoke emcc but it's not. Adding .js to list of valid extensions restores behavior.