HipsterBrown / xs-dev

The quickest way for getting started with JS on devices
https://xs-dev.js.org
MIT License
39 stars 13 forks source link

fix(build/run): dynamically create list of device targets #176

Closed HipsterBrown closed 1 week ago

HipsterBrown commented 1 week ago

Fixes #175

This also adds a check for NRF52 platform target support, similar to the checks for esp8266, esp32, pico, and wasm.

phoddie commented 1 week ago

This will be really convenient. Thank you!

HipsterBrown commented 1 week ago

@phoddie It means that directory structure is now a public API 😉 But it's great to have that list populated from the local version of the installed Moddable SDK.

phoddie commented 1 week ago

It means that directory structure is now a public API 😉

Yeah, I recognized that. Fortunately, we have been very consistent about the way the device ports are organized. Anyway... if there is a good reason to change it, updating xs-dev should be straightforward..