1
0
mirror of https://github.com/github/choosealicense.com synced 2024-12-22 12:50:24 +01:00

Add BSL-1.0 and Zlib examples

This commit is contained in:
Mike Linksvayer 2019-11-18 10:32:39 -08:00
parent 4e62d749b0
commit 08ec1de724
3 changed files with 7 additions and 3 deletions

View File

@ -9,6 +9,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
note: Boost recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the [Boost Software License FAQ](https://www.boost.org/users/license.html#FAQ). note: Boost recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the [Boost Software License FAQ](https://www.boost.org/users/license.html#FAQ).
using: using:
- Boost: https://github.com/boostorg/boost/blob/master/LICENSE_1_0.txt
- Catch2: https://github.com/catchorg/Catch2/blob/master/LICENSE.txt
- DMD: https://github.com/dlang/dmd/blob/master/LICENSE.txt
permissions: permissions:
- commercial-use - commercial-use

View File

@ -7,6 +7,9 @@ description: A short permissive license, compatible with GPL. Requires altered s
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders. how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
using: using:
- GLFW: https://github.com/glfw/glfw/blob/master/LICENSE.md
- Portainer: https://github.com/portainer/portainer/blob/develop/LICENSE
- TinyXML-2: https://github.com/leethomason/tinyxml2/blob/master/LICENSE.txt
permissions: permissions:
- commercial-use - commercial-use

View File

@ -27,7 +27,6 @@ describe 'license meta' do
'agpl-3.0', 'agpl-3.0',
'artistic-2.0', 'artistic-2.0',
'bsd-3-clause-clear', 'bsd-3-clause-clear',
'bsl-1.0',
'cc0-1.0', 'cc0-1.0',
'cc-by-4.0', 'cc-by-4.0',
'cc-by-sa-4.0', 'cc-by-sa-4.0',
@ -38,8 +37,7 @@ describe 'license meta' do
'ms-pl', 'ms-pl',
'ms-rl', 'ms-rl',
'ofl-1.1', 'ofl-1.1',
'wtfpl', 'wtfpl'
'zlib'
] ]
skip 'added before 3 using examples required' if legacy.include?(license['slug']) skip 'added before 3 using examples required' if legacy.include?(license['slug'])
expect(examples.length).to eq(3) expect(examples.length).to eq(3)