1
0
mirror of https://github.com/github/choosealicense.com synced 2024-11-12 14:38:53 +01:00

license-list-XML as submodule and further monkeypatch licensee to use it

This commit is contained in:
Mike Linksvayer 2021-02-26 13:47:53 -08:00
parent e0797f324b
commit d4f8e2afe1
4 changed files with 8 additions and 0 deletions

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "license-list-XML"]
path = license-list-XML
url = https://github.com/spdx/license-list-XML.git

View File

@ -34,6 +34,7 @@ exclude:
- assets/vendor/selectivizr/tests
- assets/vendor/clipboard/test
- assets/vendor/*/README.*
- license-list-XML
plugins:
- jekyll-sitemap

1
license-list-XML Submodule

@ -0,0 +1 @@
Subproject commit b7470fcd383d59c95187af07b66b926e4ca23201

View File

@ -139,6 +139,9 @@ module Licensee
dir = ::File.dirname(__FILE__)
::File.expand_path '../_licenses', dir
end
def spdx_dir
::File.expand_path '../license-list-XML/src', __dir__
end
end
end
end