diff options
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r-- | python/servo/command_base.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py index 4de1caf5f71..14f8dff0c6f 100644 --- a/python/servo/command_base.py +++ b/python/servo/command_base.py @@ -135,6 +135,9 @@ class CommandBase(object): self._cargo_build_id = f.read().strip() return self._cargo_build_id + def get_top_dir(self): + return self.context.topdir + def get_target_dir(self): if "CARGO_TARGET_DIR" in os.environ: return os.environ["CARGO_TARGET_DIR"] |