diff --git a/meson.build b/meson.build index 1dbcd1b..f63da00 100644 --- a/meson.build +++ b/meson.build @@ -1,4 +1,5 @@ project('me.sergiotarxz.owlpath', 'vala') +pkg = import('pkgconfig') compiler = meson.get_compiler('c') vapidir = meson.project_source_root() / 'vapi' @@ -33,9 +34,11 @@ owlpath_lib = library('owlpath', install : true, install_dir: [true, true, true], ) +pkg.generate(owlpath_lib) -executable('owlpath-test', +owlpath_test = executable('owlpath-test', ['test/00-owlpath.test.vala'], dependencies : owlpath_deps, link_with: [owlpath_lib] ) +test ('owlpath', owlpath_test )