diff options
author | Salamandar <felix@piedallu.me> | 2018-04-27 16:32:08 +0200 |
---|---|---|
committer | Salamandar <felix@piedallu.me> | 2018-06-01 14:23:24 +0200 |
commit | d5207e1c4faf65aac9c88585476fff5245672fec (patch) | |
tree | 8bd35f4f0cc3920f91e36a1b3f5e69f8092b5ebf /mesonbuild/interpreter.py | |
parent | fa6550b277f26f5625c11b9c98902241a2901b41 (diff) | |
download | meson-d5207e1c4faf65aac9c88585476fff5245672fec.zip meson-d5207e1c4faf65aac9c88585476fff5245672fec.tar.gz meson-d5207e1c4faf65aac9c88585476fff5245672fec.tar.bz2 |
Add 0.41.0 features
Diffstat (limited to 'mesonbuild/interpreter.py')
-rw-r--r-- | mesonbuild/interpreter.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mesonbuild/interpreter.py b/mesonbuild/interpreter.py index 55faddc..379afca 100644 --- a/mesonbuild/interpreter.py +++ b/mesonbuild/interpreter.py @@ -2861,6 +2861,8 @@ root and issuing %s. def func_vcs_tag(self, node, args, kwargs): if 'input' not in kwargs or 'output' not in kwargs: raise InterpreterException('Keyword arguments input and output must exist') + if 'fallback' not in kwargs: + FeatureNew('Optional fallback in vcs_tag', '0.41.0').use() fallback = kwargs.pop('fallback', self.project_version) if not isinstance(fallback, str): raise InterpreterException('Keyword argument fallback must be a string.') @@ -3174,6 +3176,7 @@ root and issuing %s. self.build.install_dirs.append(idir) return idir + @FeatureNewKwargs('configure_file', '0.41.0', ['capture']) @permittedKwargs(permitted_kwargs['configure_file']) def func_configure_file(self, node, args, kwargs): if len(args) > 0: |