From 04ed3810edea81ae9197da4f52851eb8ca1565cf Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Sun, 5 Apr 2020 09:39:41 +0530 Subject: mcompile: Use the current dir if unspecified With this running `meson compile` inside the builddir actually works, and you don't have to do `meson compile -C .` Clearly this was the intent since the option already has `default='.'` --- mesonbuild/mcompile.py | 1 - 1 file changed, 1 deletion(-) (limited to 'mesonbuild') diff --git a/mesonbuild/mcompile.py b/mesonbuild/mcompile.py index 372c853..7829ffc 100644 --- a/mesonbuild/mcompile.py +++ b/mesonbuild/mcompile.py @@ -54,7 +54,6 @@ def add_arguments(parser: 'argparse.ArgumentParser') -> None: action='store', dest='builddir', type=pathlib.Path, - required=True, default='.', help='The directory containing build files to be built.' ) -- cgit v1.1