include submodules in the collected license metadata

This commit is contained in:
Pietro Albini 2023-03-13 09:56:26 +01:00 committed by Jonathan Pallant (Ferrous Systems)
parent 16768e59ea
commit ce0051a42f
No known key found for this signature in database

View File

@ -30,7 +30,7 @@ pub(crate) fn collect(
fn obtain_spdx_document(reuse_exe: &Path) -> Result<String, Error> {
let output = Command::new(reuse_exe)
.args(&["spdx", "--add-license-concluded", "--creator-person=bors"])
.args(&["--include-submodules", "spdx", "--add-license-concluded", "--creator-person=bors"])
.stdout(Stdio::piped())
.spawn()?
.wait_with_output()?;