build: Add dist script

This script will vendor the Rust dependencies
of the app so that our tarballs can be built
offline.
This commit is contained in:
Christopher Davis 2023-04-02 17:45:51 -04:00 • committed by Sophie Herold
parent 533158bb69
commit 2e237d41e8
2 changed files with 15 additions and 0 deletions

View file

@ -66,3 +66,9 @@ gnome.post_install(
glib_compile_schemas: true,
update_desktop_database: true,
)
meson.add_dist_script(
'build-aux/meson/dist-vendor.sh',
join_paths(meson.project_build_root(), 'meson-dist', meson.project_name() + '-' + meson.project_version()),
meson.source_root()
)