Meson: capture the output of the custom target

Previously meson would withhold the stdout output, and only
print it once the job was finished. This was a bit problematic
with the current way we wire cargo into meson, cause you have
no output of whats going on till then causing a degraded UX.

With this change output is printed directly to stdout and
behaves as expected.

https://mesonbuild.com/Reference-manual.html#custom_target
This commit is contained in:
Jordan Petridis 2018-10-04 04:58:57 +03:00
parent 2ff921cc1a
commit 0d9dca99e9
No known key found for this signature in database
GPG Key ID: E8523968931763BE

View File

@ -53,6 +53,7 @@ cargo_release = custom_target('cargo-build',
output: ['gnome-podcasts'],
install: true,
install_dir: podcasts_bindir,
console: true,
command: [cargo_script,
'@CURRENT_SOURCE_DIR@',
'@OUTPUT@',