summaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs13
1 files changed, 8 insertions, 5 deletions
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)
}