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:
parent
e0797f324b
commit
d4f8e2afe1
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
[submodule "license-list-XML"]
|
||||
path = license-list-XML
|
||||
url = https://github.com/spdx/license-list-XML.git
|
@ -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
1
license-list-XML
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit b7470fcd383d59c95187af07b66b926e4ca23201
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user