backend/backends: Add verbose to ExecutableSerialisiation initializer

There are cases in the backend like this:
```python
e = ExecutableSerialisation(...)
e.verbose = v
```
setting it from the initializer is cleaner.
pull/9143/head
Dylan Baker 3 years ago committed by Daniel Mensinger
parent a5b6b35edb
commit 24284fd9d5
  1. 3
      mesonbuild/backend/backends.py

@ -160,6 +160,7 @@ class ExecutableSerialisation:
capture: T.Optional[bool] = None,
feed: T.Optional[bool] = None,
tag: T.Optional[str] = None,
verbose: bool = False,
) -> None:
self.cmd_args = cmd_args
self.env = env
@ -172,7 +173,7 @@ class ExecutableSerialisation:
self.feed = feed
self.pickled = False
self.skip_if_destdir = False
self.verbose = False
self.verbose = verbose
self.subproject = ''
self.tag = tag

Loading…
Cancel
Save