diff options
| author | Eli Schwartz <eschwartz93@gmail.com> | 2024-01-25 00:15:28 -0500 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-01-25 00:33:40 -0500 |
| commit | 5e76e2a7ff9e245502f94f7c426dbee28243c864 (patch) | |
| tree | 125824e079162c170b3c40aa03d9b335cdea11e8 | |
| parent | b2ddcbad0cf3a3e546087ea540998266a13719be (diff) | |
| download | meson-5e76e2a7ff9e245502f94f7c426dbee28243c864.tar.gz | |
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
| -rw-r--r-- | mesonbuild/interpreter/mesonmain.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mesonbuild/interpreter/mesonmain.py b/mesonbuild/interpreter/mesonmain.py index 66029a019..4d1f427da 100644 --- a/mesonbuild/interpreter/mesonmain.py +++ b/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], |
