Skip to content

Commit

Permalink
Add missing FeatureNew for meson.add_dist_script
Browse files Browse the repository at this point in the history
Per the docs, it is available since 0.48.0. Notify about this at runtime
too.

Fixes mesonbuild#12773
  • Loading branch information
eli-schwartz committed Jan 25, 2024
1 parent b2ddcba commit 5e76e2a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mesonbuild/interpreter/mesonmain.py
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ def add_postconf_script_method(
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],
Expand Down

0 comments on commit 5e76e2a

Please sign in to comment.