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

PlatformIO Library Manger manifest file #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ivankravets
Copy link

@ivankravets
Copy link
Author

library.json is a library manifest file which can be used with different tools/managers to organise embedded libraries. Currently, only PlatformIO uses it. How does this look from CLI:

$ platformio lib search --framework="arduino" "http client"
# Found ... libraries:
#
# [ ID  ] Name             Compatibility         "Authors": Description
# -------------------------------------------------------------------------------------
# [ 66  ] HttpClient       arduino, atmelavr     "Adrian McEwen": HttpClient is a library to make it easier to interact with web servers

$ platformio lib install 66
# Installing [ 66 ]  library:
# Downloading  [####################################]  100%
# Unpacking  [####################################]  100%
# The library  [ 66  ] ‘HttpClient' has been successfully installed!

$ platformio lib show 66
# HttpClient
# -------------
# Author: Adrian McEwen 
# Keywords: http, web, client, ethernet
# Frameworks: arduino
# Platforms: atmelavr
# Version: ***
#
# HttpClient is a library to make it easier to interact with web servers

$ platformio lib update
# Updating HttpClient  library:
# Versions: Current=***, Latest=***       [Up-to-date]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant