Add missing install_tag kwarg to install_emptydir()

pull/10047/head
Christian Wendt 3 years ago committed by Eli Schwartz
parent 80cb87e7b7
commit 3478e968d2
  1. 5
      mesonbuild/interpreter/interpreter.py

@ -2036,10 +2036,11 @@ external dependencies (including libraries) must go to "dependencies".''')
@FeatureNew('install_emptydir', '0.60.0')
@typed_kwargs(
'install_emptydir',
INSTALL_MODE_KW
INSTALL_MODE_KW,
KwargInfo('install_tag', (str, NoneType), since='0.62.0')
)
def func_install_emptydir(self, node: mparser.BaseNode, args: T.Tuple[str], kwargs) -> None:
d = build.EmptyDir(args[0], kwargs['install_mode'], self.subproject)
d = build.EmptyDir(args[0], kwargs['install_mode'], self.subproject, kwargs['install_tag'])
self.build.emptydir.append(d)
return d

Loading…
Cancel
Save