Using Library from CLI

Hi everyone! I am a big fan of local development and the cli for cloud compile and flash.

Is there a way to reference a library when doing spark compile?

Regards

1 Like

You will be required to have the library in the folder that you are referencing to compile for now.

I remember it being in the backlog but not implemented yet. :wink:

I just found clib, a simple package manager for C files, also with a similar json file. Not directly compatible, but might be good inspiration.

Until then, I’ll use git clone and simple shell-copy scripts. see my sample.