aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/gnome.py
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2021-01-12 10:50:22 -0800
committerDylan Baker <dylan@pnwbakers.com>2021-01-13 13:32:48 -0800
commit022632c91b255739c5100601a02b197cb29cd23e (patch)
tree1b624726c0f5d801f7588e054a34bf70c4f8b8cb /mesonbuild/modules/gnome.py
parent6180992d4939f931aaeae74138dae069a60a3485 (diff)
downloadmeson-022632c91b255739c5100601a02b197cb29cd23e.zip
meson-022632c91b255739c5100601a02b197cb29cd23e.tar.gz
meson-022632c91b255739c5100601a02b197cb29cd23e.tar.bz2
build/interperter: Add annotations and move input validation to interpreter
This moves the user input validation to the interpreter, instead of being in the build module, and adds type annotations.
Diffstat (limited to 'mesonbuild/modules/gnome.py')
-rw-r--r--mesonbuild/modules/gnome.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/gnome.py b/mesonbuild/modules/gnome.py
index 21570bd..5cad9f5 100644
--- a/mesonbuild/modules/gnome.py
+++ b/mesonbuild/modules/gnome.py
@@ -1629,7 +1629,7 @@ G_END_DECLS'''
with open(fname, 'w') as ofile:
for package in packages:
ofile.write(package + '\n')
- return build.Data(mesonlib.File(True, outdir, fname), install_dir)
+ return build.Data([mesonlib.File(True, outdir, fname)], install_dir)
def _get_vapi_link_with(self, target):
link_with = []