mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
build: Use --keep-going
in ./mach doc
(#31119)
The documentation build for `gstreamer-gl-x11` depends on nightly Rust for some reason, which breaks our doc build. Use `--keep-going` to prevent breakage in dependencies from breaking our doc build. This unfortunately hides issues in our own documentation build. NB: It isn't possible to exclude dependencies with `--exclude` unless you are using `--workspace`. We would probably like to do that, but we have crates with the same name, preventing using `--workspace`.
This commit is contained in:
parent
8e5f28839c
commit
c641c589e5
1 changed files with 5 additions and 0 deletions
|
@ -266,6 +266,11 @@ class PostBuildCommands(CommandBase):
|
|||
else:
|
||||
copy2(full_name, destination)
|
||||
|
||||
# Documentation build errors shouldn't cause the entire build to fail. This
|
||||
# prevents issues with dependencies from breaking our documentation build,
|
||||
# with the downside that it hides documentation issues.
|
||||
params.insert(0, "--keep-going")
|
||||
|
||||
env = self.build_env()
|
||||
returncode = self.run_cargo_build_like_command("doc", params, env=env, **kwargs)
|
||||
if returncode:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue