diff options
author | Matt Brubeck <mbrubeck@limpet.net> | 2016-11-18 11:07:38 -0800 |
---|---|---|
committer | Matt Brubeck <mbrubeck@limpet.net> | 2016-11-18 11:07:38 -0800 |
commit | 02f189060c7a45ee0c5ee40ee7e3f8148efffae8 (patch) | |
tree | 2e0a61a51ca3757da3b79367acf08b9c59d34fe5 /python/servo/post_build_commands.py | |
parent | 39a221ae5debfe3a77661f7e57e4c77b1deea36b (diff) | |
download | servo-02f189060c7a45ee0c5ee40ee7e3f8148efffae8.tar.gz servo-02f189060c7a45ee0c5ee40ee7e3f8148efffae8.zip |
Run cargo doc in the ports/servo directory
Running it in components/servo isn't guaranteed to work because there's
no Cargo.lock checked in there. Followup to #14254.
Diffstat (limited to 'python/servo/post_build_commands.py')
-rw-r--r-- | python/servo/post_build_commands.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/post_build_commands.py b/python/servo/post_build_commands.py index 58d4811f3e9..78e1a230ed5 100644 --- a/python/servo/post_build_commands.py +++ b/python/servo/post_build_commands.py @@ -217,7 +217,7 @@ class PostBuildCommands(CommandBase): copy2(full_name, destination) return call(["cargo", "doc"] + params, - env=self.build_env(), cwd=path.join('components', 'servo')) + env=self.build_env(), cwd=self.servo_crate()) @Command('browse-doc', description='Generate documentation and open it in a web browser', |