mirror of
https://github.com/servo/servo.git
synced 2025-07-22 06:43:40 +01:00
Windows bootstrap support
This commit is contained in:
parent
35ab311635
commit
633d9b0eb9
10 changed files with 69 additions and 74 deletions
|
@ -241,13 +241,8 @@ def bootstrap_command_only(topdir):
|
|||
import servo.platform
|
||||
import servo.util
|
||||
|
||||
# We are not set up yet, so we always use the default cache directory
|
||||
# for the initial bootstrap.
|
||||
# TODO(mrobinson): Why not just run the bootstrap command in this case?
|
||||
|
||||
try:
|
||||
servo.platform.get().bootstrap(
|
||||
servo.util.get_default_cache_dir(topdir), '-f' in sys.argv)
|
||||
servo.platform.get().bootstrap('-f' in sys.argv or '--force' in sys.argv)
|
||||
except NotImplementedError as exception:
|
||||
print(exception)
|
||||
return 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue