diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/files.rs | 1 | ||||
| -rw-r--r-- | src/main.rs | 13 |
2 files changed, 9 insertions, 5 deletions
diff --git a/src/files.rs b/src/files.rs index b939311..fa441f0 100644 --- a/src/files.rs +++ b/src/files.rs @@ -33,6 +33,7 @@ pub(crate) const SOURCE: &[&str] = &[ "rust-toolchain.toml", ".cargo", ".gitignore", + ".gitattributes", ".forgejo", "src", "tests", diff --git a/src/main.rs b/src/main.rs index ec8784e..beba5b0 100644 --- a/src/main.rs +++ b/src/main.rs @@ -202,6 +202,8 @@ fn licenses(project: &Project) -> Result<()> { process::run(project.command("cargo")?.args([ "about", "generate", + "--workspace", + "--locked", "about.hbs", "--output-file", "web/THIRD-PARTY-LICENSES.html", @@ -243,10 +245,11 @@ fn check(project: &Project) -> Result<()> { "--document-private-items", ]), )?; - process::run( - project - .command("cargo")? - .args(["deny", "--all-features", "check"]), - )?; + process::run(project.command("cargo")?.args([ + "deny", + "--workspace", + "--all-features", + "check", + ]))?; licenses(project) } |
