aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/build.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/build.py b/mesonbuild/build.py
index 00e2ff1..dbd98e4 100644
--- a/mesonbuild/build.py
+++ b/mesonbuild/build.py
@@ -2472,7 +2472,8 @@ class CustomTarget(Target, CommandBase):
yield CustomTargetIndex(self, i)
class RunTarget(Target, CommandBase):
- def __init__(self, name, command, dependencies, subdir, subproject, env=None):
+ def __init__(self, name: str, command, dependencies,
+ subdir: str, subproject: str, env: T.Optional['EnvironmentVariables'] = None):
self.typename = 'run'
# These don't produce output artifacts
super().__init__(name, subdir, subproject, False, MachineChoice.BUILD)