[nautilus] data/meson.build: Compile gschemas during the build



commit 17ebc7e403dfdbb945aa1ef35b792e7db979e36a
Author: Ernestas Kulik <ernestask gnome org>
Date:   Sat Mar 24 18:02:49 2018 +0200

    data/meson.build: Compile gschemas during the build
    
    In particular this can be useful when running tests from the build
    directory in Builder.

 data/meson.build | 5 +++++
 1 file changed, 5 insertions(+)
---
diff --git a/data/meson.build b/data/meson.build
index ab9b853a9..05f962c48 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -118,6 +118,11 @@ configure_file(
   output: '@0  search-provider ini'.format(application_id)
 )
 
+gnome.compile_schemas(
+  build_by_default: true,
+  depend_files: 'org.gnome.nautilus.gschema.xml'
+)
+
 install_data(
   'org.gnome.nautilus.gschema.xml',
   install_dir: join_paths(datadir, 'glib-2.0', 'schemas')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]