Add missing FeatureNew for meson.add_dist_script

Per the docs, it is available since 0.48.0. Notify about this at runtime
too.

Fixes #12773
pull/12774/head
Eli Schwartz 10 months ago
parent b2ddcbad0c
commit 5e76e2a7ff
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 1
      mesonbuild/interpreter/mesonmain.py

@ -188,6 +188,7 @@ class MesonMain(MesonInterpreterObject):
varargs=(str, mesonlib.File, ExternalProgram)
)
@noKwargs
@FeatureNew('meson.add_dist_script', '0.48.0')
def add_dist_script_method(
self,
args: T.Tuple[T.Union[str, mesonlib.File, ExternalProgram],

Loading…
Cancel
Save