Run cargo doc on libservo crate

Fixes `./mach doc` regression caused by #14172.
This commit is contained in:
Matt Brubeck 2016-11-16 16:54:34 -08:00
parent f14e7339b5
commit 39a221ae5d

View file

@ -217,7 +217,7 @@ class PostBuildCommands(CommandBase):
copy2(full_name, destination)
return call(["cargo", "doc"] + params,
env=self.build_env(), cwd=self.servo_crate())
env=self.build_env(), cwd=path.join('components', 'servo'))
@Command('browse-doc',
description='Generate documentation and open it in a web browser',