diff options
author | Dylan Baker <dylan@pnwbakers.com> | 2022-01-19 14:27:07 -0800 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-01-28 15:53:20 -0500 |
commit | 08f06b237ecfd9c4e480ef228e15cf373856e8e4 (patch) | |
tree | 0c8c0269ab3d3c54e4149969763e32a27349eff6 /mesonbuild/interpreter/kwargs.py | |
parent | d9f55d774c6df52a8536114535d305841e96f105 (diff) | |
download | meson-08f06b237ecfd9c4e480ef228e15cf373856e8e4.zip meson-08f06b237ecfd9c4e480ef228e15cf373856e8e4.tar.gz meson-08f06b237ecfd9c4e480ef228e15cf373856e8e4.tar.bz2 |
interpreter: use typed_kwargs for vcs_tag
Diffstat (limited to 'mesonbuild/interpreter/kwargs.py')
-rw-r--r-- | mesonbuild/interpreter/kwargs.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/mesonbuild/interpreter/kwargs.py b/mesonbuild/interpreter/kwargs.py index 777db12..99c54c1 100644 --- a/mesonbuild/interpreter/kwargs.py +++ b/mesonbuild/interpreter/kwargs.py @@ -266,3 +266,13 @@ class DependencyGetVariable(TypedDict): class ConfigurationDataSet(TypedDict): description: T.Optional[str] + +class VcsTag(TypedDict): + + command: T.List[T.Union[str, build.BuildTarget, build.CustomTarget, + build.CustomTargetIndex, ExternalProgram, File]] + fallback: T.Optional[str] + input: T.List[T.Union[str, build.BuildTarget, build.CustomTarget, build.CustomTargetIndex, + build.ExtractedObjects, build.GeneratedList, ExternalProgram, File]] + output: T.List[str] + replace_string: str |