mirror of
https://github.com/servo/servo.git
synced 2025-06-10 17:43:16 +00:00
Add a no-op --dev option to the mach build command.
This is part of #5965. It needs to land before the rest of that PR, so we can land servo/saltfs#28 without breaking automated builds for other PRs.
This commit is contained in:
parent
49aed6555d
commit
2dc048116e
1 changed files with 5 additions and 2 deletions
|
@ -70,6 +70,9 @@ class MachCommands(CommandBase):
|
|||
@CommandArgument('--release', '-r',
|
||||
action='store_true',
|
||||
help='Build in release mode')
|
||||
@CommandArgument('--dev', '-d',
|
||||
action='store_true',
|
||||
help='Build in development mode')
|
||||
@CommandArgument('--jobs', '-j',
|
||||
default=None,
|
||||
help='Number of jobs to run in parallel')
|
||||
|
@ -86,8 +89,8 @@ class MachCommands(CommandBase):
|
|||
help='Print verbose output')
|
||||
@CommandArgument('params', nargs='...',
|
||||
help="Command-line arguments to be passed through to Cargo")
|
||||
def build(self, target=None, release=False, jobs=None, android=None,
|
||||
verbose=False, debug_mozjs=False, params=None):
|
||||
def build(self, target=None, release=False, dev=False, jobs=None,
|
||||
android=None, verbose=False, debug_mozjs=False, params=None):
|
||||
self.ensure_bootstrapped()
|
||||
|
||||
if android is None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue