aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/bootstrap_commands.py
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2018-09-03 13:18:25 +0530
committerManish Goregaokar <manishsmail@gmail.com>2018-09-11 19:34:38 +0530
commit1913ac706cef91125fa8e50629548826c60a66d3 (patch)
tree303787eebf07671b156db42907e9e064899c5621 /python/servo/bootstrap_commands.py
parent11209c9fee52bab9eff850e96fc7711a4ec26dab (diff)
downloadservo-1913ac706cef91125fa8e50629548826c60a66d3.tar.gz
servo-1913ac706cef91125fa8e50629548826c60a66d3.zip
Make ./mach bootstrap into a full-fledged linux dependency installer
Diffstat (limited to 'python/servo/bootstrap_commands.py')
-rw-r--r--python/servo/bootstrap_commands.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/python/servo/bootstrap_commands.py b/python/servo/bootstrap_commands.py
index 28e39916f39..66508c5b959 100644
--- a/python/servo/bootstrap_commands.py
+++ b/python/servo/bootstrap_commands.py
@@ -55,6 +55,15 @@ class MachCommands(CommandBase):
def bootstrap(self, force=False):
return bootstrap.bootstrap(self.context, force=force)
+ @Command('bootstrap-salt',
+ description='Install and set up the salt environment.',
+ category='bootstrap')
+ @CommandArgument('--force', '-f',
+ action='store_true',
+ help='Boostrap without confirmation')
+ def bootstrap_salt(self, force=False):
+ return bootstrap.bootstrap(self.context, force=force, specific="salt")
+
@Command('bootstrap-android',
description='Install the Android SDK and NDK.',
category='bootstrap')