diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2022-01-13 12:54:50 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2022-01-15 00:38:14 +0530 |
commit | 67bb25b246ccc3b16744fbda0cf4f2c494e7662d (patch) | |
tree | a8eda89390a2567e23752ffdda7ee7dc50c16953 /test cases | |
parent | bda11fe25d1efe688d251148cb7cf7939cd50433 (diff) | |
download | meson-67bb25b246ccc3b16744fbda0cf4f2c494e7662d.zip meson-67bb25b246ccc3b16744fbda0cf4f2c494e7662d.tar.gz meson-67bb25b246ccc3b16744fbda0cf4f2c494e7662d.tar.bz2 |
tests: Add a regression test for vapigen metadatadir
https://github.com/mesonbuild/meson/pull/9806
Diffstat (limited to 'test cases')
-rw-r--r-- | test cases/vala/11 generated vapi/libfoo/foo.metadata | 1 | ||||
-rw-r--r-- | test cases/vala/11 generated vapi/libfoo/meson.build | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/test cases/vala/11 generated vapi/libfoo/foo.metadata b/test cases/vala/11 generated vapi/libfoo/foo.metadata new file mode 100644 index 0000000..e208fe3 --- /dev/null +++ b/test cases/vala/11 generated vapi/libfoo/foo.metadata @@ -0,0 +1 @@ +Foo.bar nullable diff --git a/test cases/vala/11 generated vapi/libfoo/meson.build b/test cases/vala/11 generated vapi/libfoo/meson.build index 9dc14ce..ee425f2 100644 --- a/test cases/vala/11 generated vapi/libfoo/meson.build +++ b/test cases/vala/11 generated vapi/libfoo/meson.build @@ -24,7 +24,14 @@ libfoo_gir = gnome.generate_gir(libfoo, ], ) +configure_file( + input: 'foo.metadata', + output: 'Foo-@0@.metadata'.format(libfoo_api_ver), + copy: true +) + libfoo_vapi = gnome.generate_vapi('foo-' + libfoo_api_ver, + metadata_dirs: meson.current_build_dir(), sources: libfoo_gir[0], install: true, ) |