Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify library dependencies in library.properties #1

Merged
merged 1 commit into from Jan 8, 2020

Conversation

@per1234
Copy link
Contributor

per1234 commented Jan 8, 2020

Specifying the library dependencies in the depends field of library.properties causes the Arduino Library Manager (Arduino IDE 1.8.10 and newer) to offer to install any missing dependencies during installation of this library.

arduino-cli lib install will automatically install the dependencies (arduino-cli 0.7.0 and newer).

Reference:
https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5:-Library-specification#libraryproperties-file-format

Specifying the library dependencies in the depends field of library.properties causes the Arduino Library Manager (Arduino IDE 1.8.10 and newer) to offer to install any missing dependencies during installation of this library. "arduino-cli lib install" will automatically install the dependencies (arduino-cli 0.7.0 and newer).
@toxnico
toxnico approved these changes Jan 8, 2020
@toxnico toxnico merged commit 58f20b9 into toxnico:master Jan 8, 2020
@toxnico

This comment has been minimized.

Copy link
Owner

toxnico commented Jan 8, 2020

Thanks for the tip :)

@per1234 per1234 deleted the per1234:depends branch Jan 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.