ScruffR
November 19, 2016, 6:35pm
2
I seem to have a similar issue, reported here
@jvanier , I just tried to contribute/publish my first 2.0 lib, but got this
Library is not valid. main source is missing
main header is missing
That’s particularly surprising since the respective “ol’ school” library migrated via
particle library migrate
without issue, but the subsequent
particle library contribute
failed (when executed from the same direcory as the previous migrate command).
What have I done wrong?
BTW, once I will be able to contribute, how could I instruct CLI to bui…
kennethlimcp:
Tedious to test a library
I wonder how the 3rd part library provider does their test.. It seems like they make a library repo, whack the entire folder in the libraries folder and runs their examples to compile etc.
One method i used is to symlink.
The current setup for requires making another folder, paste the library and compile. I'm sure we have a better way to do this!
Having a way to have CLI build an embedded example of the library before you contribute/publish (whithout the extra work of setting up a test project) would be good.