mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
bootstrap: Add a --skip-platform
option (#32176)
This allows installign `taplo` and `crown` when you are installing dependencies manually.
This commit is contained in:
parent
3014e201ab
commit
4a12c06309
3 changed files with 12 additions and 5 deletions
|
@ -198,7 +198,9 @@ def bootstrap_command_only(topdir):
|
|||
import servo.util
|
||||
|
||||
try:
|
||||
servo.platform.get().bootstrap('-f' in sys.argv or '--force' in sys.argv)
|
||||
force = '-f' in sys.argv or '--force' in sys.argv
|
||||
skip_platform = '--skip-platform' in sys.argv
|
||||
servo.platform.get().bootstrap(force, skip_platform)
|
||||
except NotImplementedError as exception:
|
||||
print(exception)
|
||||
return 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue