aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/devenv_commands.py
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2016-10-01 13:38:45 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2016-10-01 13:38:45 +0200
commiteb27bcff7ebef4bacdc3d283e63b6aa3763e1e72 (patch)
treef69f8789f4a1b67325fa68cc3376195592366945 /python/servo/devenv_commands.py
parent7f84982de2fe8283d1df37d704842e037432087e (diff)
downloadservo-eb27bcff7ebef4bacdc3d283e63b6aa3763e1e72.tar.gz
servo-eb27bcff7ebef4bacdc3d283e63b6aa3763e1e72.zip
Ensure cargo is up to date before running update crate command
Diffstat (limited to 'python/servo/devenv_commands.py')
-rw-r--r--python/servo/devenv_commands.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/servo/devenv_commands.py b/python/servo/devenv_commands.py
index 2fc4a08e434..5a41b8b1b37 100644
--- a/python/servo/devenv_commands.py
+++ b/python/servo/devenv_commands.py
@@ -87,6 +87,8 @@ class MachCommands(CommandBase):
print("flag or update all packages with --all-packages (-a) flag")
sys.exit(1)
+ self.ensure_bootstrapped()
+
for cargo_path in CARGO_PATHS:
with cd(cargo_path):
print(cargo_path)