openenergymonitor / EmonLib

Electricity monitoring library - install in Arduino IDE's libraries folder then restart the IDE
openenergymonitor.org
GNU Affero General Public License v3.0
589 stars 419 forks source link

PlatformIO Library Registry manifest file #10

Closed ivankravets closed 9 years ago

ivankravets commented 9 years ago
ivankravets commented 9 years ago

library.json is a library manifest file which can be used by the different tools/managers to organise embedded libraries. How does this look from CLI:

$ platformio lib search "electricity"
# Found ... libraries:
#
# [ ID  ] Name             Compatibility         "Authors": Description
# -------------------------------------------------------------------------------------
[ 116  ] EmonLib         arduino, atmelavr     "OpenEnergyMonitor": Energy Monitoring Library

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

$ platformio lib show 116
# EmonLib
# -------------
# Author: OpenEnergyMonitor
# Keywords: /////////
# Frameworks: arduino
# Platforms: atmelavr
# Version: ***
#
# Energy Monitoring Library

$ platformio lib update
# Updating EmonLib  library:
# Versions: Current=***, Latest=***       [Up-to-date]
glynhudson commented 9 years ago

Great!

glynhudson commented 9 years ago

Sorry , accidently closed then merged

ivankravets commented 9 years ago

Thanks a lot! :+1: