mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-29 17:47:14 +02:00
Add license field to library.json // Resolve #522
This commit is contained in:
@ -20,6 +20,8 @@ PlatformIO 3.0
|
||||
* Handle extra build flags and build script from
|
||||
`library.json <http://docs.platformio.org/en/latest/librarymanager/config.html>`__
|
||||
(`issue #289 <https://github.com/platformio/platformio/issues/289>`_)
|
||||
* Added ``license`` field to `library.json <http://docs.platformio.org/en/latest/librarymanager/config.html>`__
|
||||
(`issue #522 <https://github.com/platformio/platformio/issues/522>`_)
|
||||
* Show detailed build information about dependent libraries
|
||||
(`issue #617 <https://github.com/platformio/platformio/issues/617>`_)
|
||||
* Embedded Board compatibility with more than one development platform
|
||||
|
@ -222,6 +222,19 @@ Example:
|
||||
},
|
||||
"version": "1.0.0"
|
||||
|
||||
|
||||
``license``
|
||||
-----------
|
||||
|
||||
A license of the library. You can check
|
||||
`the full list of SPDX license IDs <https://spdx.org/licenses/>`_. Ideally you
|
||||
should pick one that is `OSI <https://opensource.org/licenses/alphabetical>`_
|
||||
approved.
|
||||
|
||||
.. code-block:: javascript
|
||||
|
||||
"license": "Apache-2.0"
|
||||
|
||||
.. _libjson_downloadurl:
|
||||
|
||||
``downloadUrl``
|
||||
@ -479,7 +492,7 @@ options:
|
||||
"flags": "-std=c99"
|
||||
}
|
||||
|
||||
4. Build source files (``c, cpp, h``) only from the root of the library
|
||||
4. Build source files (``c, cpp, h``) at the top level of the library
|
||||
|
||||
.. code-block:: javascript
|
||||
|
||||
|
Reference in New Issue
Block a user