Skip to content

Commit 018c9c2

Browse files
committed
Add spdx licenses as a submodule
1 parent a1243fa commit 018c9c2

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

Diff for: .gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "resources/licenses/spdx"]
2+
path = resources/licenses/spdx
3+
url = https://github.com/spdx/license-list-data

Diff for: build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn main() {
1616
let mut store = Store::new();
1717
store
1818
.load_spdx(Path::new("resources/licenses/spdx/json/details"), false)
19-
.expect("Couldn't create a store from SPDX data");
19+
.expect("Couldn't create a store from SPDX data. Have submodules been initialized?");
2020

2121
let mut cache = File::create(EMBEDDED_CACHE).unwrap();
2222
store.to_cache(&mut cache).unwrap();

Diff for: resources/licenses/spdx

Submodule spdx added at 5f2f403

0 commit comments

Comments
 (0)