Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a no-op --dev option to the mach build command. #6023

Merged
merged 1 commit into from May 12, 2015
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

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.
  • Loading branch information
mbrubeck committed May 12, 2015
commit 2dc048116e7d80f08abc7fb65ac20de671b17c1f
@@ -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:
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.