Adafruit-WS2801-Library icon indicating copy to clipboard operation
Adafruit-WS2801-Library copied to clipboard

PlatformIO Library Manager manifest file

Open ivankravets opened this issue 11 years ago • 1 comments

ivankravets avatar Oct 08 '14 20:10 ivankravets

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" WS2801
# Found 1 libraries:
#
# [ ID  ] Name             Compatibility         "Authors": Description
# -------------------------------------------------------------------------------------
# [ 80  ] Adafruit-WS2801  arduino, atmelavr     "Adafruit Industries": Arduino library for controlling strips/pixels using WS2801 driver chips

$ platformio lib install 80
# Installing Adafruit-WS2801  library:
# Downloading  [####################################]  100%
# Unpacking  [####################################]  100%
# The library ‘Adafruit-WS2801' has been successfully installed!

$ platformio lib show 80
# Adafruit-WS2801
# -------------
# Author: Adafruit Industries 
# Keywords: rgb, strip, pixel
# Version: ***
#
# Arduino library for controlling strips/pixels using WS2801 driver chips

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

ivankravets avatar Oct 10 '14 19:10 ivankravets