hybridgroup / mechanoid

Mechanoid is a framework for WebAssembly applications on embedded systems and IoT devices.
https://mechanoid.io
Apache License 2.0
170 stars 8 forks source link

cmd/mecha: correct issue with 'new module' command when missing dependencies #13

Closed deadprogram closed 4 months ago

deadprogram commented 4 months ago

This PR modifies the mecha command to correct an issue with 'new module' command when missing project dependencies.

The 'go list' command needs the '-e' flag to ignore errors, such as missing files from //go:embed directives.

Fixes #12

deadprogram commented 4 months ago

Merging, since cannot add modules to a new project without this right now. Thank you for reporting it @sago35 !