mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
Run platform_bootstrap first (#31840)
This commit is contained in:
parent
fe6e1cfb29
commit
6ca3bb440e
2 changed files with 7 additions and 5 deletions
|
@ -55,9 +55,9 @@ class Base:
|
||||||
return False
|
return False
|
||||||
|
|
||||||
def bootstrap(self, force: bool):
|
def bootstrap(self, force: bool):
|
||||||
installed_something = self.install_taplo(force)
|
installed_something = self._platform_bootstrap(force)
|
||||||
|
installed_something |= self.install_taplo(force)
|
||||||
installed_something |= self.install_crown(force)
|
installed_something |= self.install_crown(force)
|
||||||
installed_something |= self._platform_bootstrap(force)
|
|
||||||
if not installed_something:
|
if not installed_something:
|
||||||
print("Dependencies were already installed!")
|
print("Dependencies were already installed!")
|
||||||
|
|
||||||
|
|
|
@ -146,9 +146,11 @@ class Linux(Base):
|
||||||
'void',
|
'void',
|
||||||
'fedora linux asahi remix'
|
'fedora linux asahi remix'
|
||||||
]:
|
]:
|
||||||
raise NotImplementedError(f"mach bootstrap does not support {self.distro}."
|
print(f"mach bootstrap does not support {self.distro}."
|
||||||
" You may be able to install dependencies manually."
|
" You may be able to install dependencies manually."
|
||||||
" See https://github.com/servo/servo/wiki/Building.")
|
" See https://github.com/servo/servo/wiki/Building.")
|
||||||
|
input("Press Enter to continue...")
|
||||||
|
return False
|
||||||
|
|
||||||
installed_something = self.install_non_gstreamer_dependencies(force)
|
installed_something = self.install_non_gstreamer_dependencies(force)
|
||||||
return installed_something
|
return installed_something
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue