I used to use --libs-dir (version 2.3) to specify the directory to store libraries into. The current mos (version 2.11.0) has changed the functionality of that option to only specify the directory to find libs in. Is there a way with 2.11.0 to specify the directory to store libraries into?
Comments
https://github.com/cesanta/mos-tool/commit/ca6ef2cc360e2e25dd8447cff13aca4abf9ca54d
https://github.com/cesanta/mos-tool/commit/5b77c7e7d80446649e6429798b6b5846211dd524
https://github.com/cesanta/mongoose-os/releases/tag/2.11.0
To quote the first link, "use --deps-dir instead of --libs-dir" -> Thank you, nliviu.
I noticed an interesting effect, not sure if intended or not. In the mos.yml file, under "libs:", I have a line "- origin: ./deps/Display" where I had my own dep. Seemingly this line resulted in mos copying all of the referenced github libraries to the "./deps" directory. Seems like an unintended side-effect, so I thought I'd mention it. I'm doing a local build under Windows with Docker.