rocketscream / Low-Power

Low Power Library for Arduino
www.rocketscream.com
1.27k stars 346 forks source link

PlatformIO Library Manager manifest file #10

Closed ivankravets closed 3 years ago

ivankravets commented 10 years ago
ivankravets commented 10 years ago

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 "low power"
# Found ... libraries:
#
# [ ID  ] Name             Compatibility         "Authors": Description
# -------------------------------------------------------------------------------------
# [ 38  ] LowPower         arduino, atmelavr     "rocketscream": Low Power Library
# ...

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

$ platformio lib show 38
# LowPower
# -------------
# Author: Rocket Scream
# Keywords: power, efficient
# Frameworks: arduino
# Platforms: atmelavr
# Version: ***
#
# Low Power Library for Arduino

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