meson: keep track of changes in Cargo.toml and lockfile

This commit is contained in:
Jordan Petridis 2020-06-21 18:55:25 +03:00
parent b754182e0d
commit f7d9d0555c
No known key found for this signature in database
GPG Key ID: E8523968931763BE
2 changed files with 9 additions and 0 deletions

View File

@ -40,6 +40,14 @@ else
version_suffix = '' version_suffix = ''
endif endif
podcast_toml = files(
'Cargo.toml',
'Cargo.lock',
'podcasts-data/Cargo.toml',
'podcasts-downloader/Cargo.toml',
'podcasts-gtk/Cargo.toml',
)
application_id = 'org.gnome.Podcasts@0@'.format(profile) application_id = 'org.gnome.Podcasts@0@'.format(profile)
i18n = import('i18n') i18n = import('i18n')
gnome = import('gnome') gnome = import('gnome')

View File

@ -61,6 +61,7 @@ podcasts_sources = files(
cargo_release = custom_target('cargo-build', cargo_release = custom_target('cargo-build',
build_by_default: true, build_by_default: true,
input: [ input: [
podcast_toml,
data_sources, data_sources,
downloader_sources, downloader_sources,
podcasts_sources, podcasts_sources,