From 14f84a49a6a3810f25caa390f78a33bb28b17cf6 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Wed, 17 Jun 2015 13:28:56 +0300 Subject: [PATCH] Allow to specify library compatibility with the all platforms/frameworks using * symbol in library.json --- HISTORY.rst | 7 +++++++ docs/librarymanager/config.rst | 13 +++++++++++++ platformio/__init__.py | 2 +- 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/HISTORY.rst b/HISTORY.rst index f6be44fa..eda258b4 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -1,6 +1,13 @@ Release History =============== +2.1.2 (2015-??-??) +------------------ + +* Allow to specify library compatibility with the all platforms/frameworks using + ``*`` symbol in + `library.json `__ + 2.1.1 (2015-06-09) ------------------ diff --git a/docs/librarymanager/config.rst b/docs/librarymanager/config.rst index 1d0d64d2..8544ac35 100644 --- a/docs/librarymanager/config.rst +++ b/docs/librarymanager/config.rst @@ -249,6 +249,12 @@ patterns. A list with compatible frameworks. The available framework types are defined in the :ref:`platforms` section. +If the library is compatible with the all frameworks, then you can use ``*`` +symbol: + +.. code-block:: javascript + + "frameworks": "*" .. _libjson_platforms: @@ -260,6 +266,13 @@ the :ref:`platforms` section. A list with compatible platforms. The available platform types are defined in :ref:`platforms` section. +If the library is compatible with the all platforms, then you can use ``*`` +symbol: + +.. code-block:: javascript + + "platforms": "*" + .. _libjson_dependencies: diff --git a/platformio/__init__.py b/platformio/__init__.py index d0de4173..6923cb2b 100644 --- a/platformio/__init__.py +++ b/platformio/__init__.py @@ -1,7 +1,7 @@ # Copyright (C) Ivan Kravets # See LICENSE for details. -VERSION = (2, 1, 1) +VERSION = (2, 1, "2.dev0") __version__ = ".".join([str(s) for s in VERSION]) __title__ = "platformio"