Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'xtask/src/codegen/assists_doc_tests.rs')
-rw-r--r--xtask/src/codegen/assists_doc_tests.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/xtask/src/codegen/assists_doc_tests.rs b/xtask/src/codegen/assists_doc_tests.rs
index 1bb7845b9c..dd55d06bd3 100644
--- a/xtask/src/codegen/assists_doc_tests.rs
+++ b/xtask/src/codegen/assists_doc_tests.rs
@@ -53,6 +53,11 @@ r#####"
);
}
+ // Do not generate assists manual when run with `--check`
+ if check {
+ return;
+ }
+
{
// Generate assists manual. Note that we do _not_ commit manual to the
// git repo. Instead, `cargo xtask release` runs this test before making