mirror of
https://github.com/servo/servo.git
synced 2025-06-20 07:08:59 +01:00
Move get_browserhtml_path to command_base #14815
Remove unused import of find_dep_path_newest #14815 Move get_browserhtml_path top along with find_dep_path_newest #14815
This commit is contained in:
parent
bbe70c7c5f
commit
48df976bcd
3 changed files with 12 additions and 14 deletions
|
@ -61,6 +61,13 @@ def find_dep_path_newest(package, bin_path):
|
|||
return None
|
||||
|
||||
|
||||
def get_browserhtml_path(binary_path):
|
||||
browserhtml_path = find_dep_path_newest('browserhtml', binary_path)
|
||||
if browserhtml_path:
|
||||
return path.join(browserhtml_path, "out")
|
||||
sys.exit("Could not find browserhtml package; perhaps you haven't built Servo.")
|
||||
|
||||
|
||||
def archive_deterministically(dir_to_archive, dest_archive, prepend_path=None):
|
||||
"""Create a .tar.gz archive in a deterministic (reproducible) manner.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue