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:
parent
2ff921cc1a
commit
0d9dca99e9
@ -53,6 +53,7 @@ cargo_release = custom_target('cargo-build',
|
|||||||
output: ['gnome-podcasts'],
|
output: ['gnome-podcasts'],
|
||||||
install: true,
|
install: true,
|
||||||
install_dir: podcasts_bindir,
|
install_dir: podcasts_bindir,
|
||||||
|
console: true,
|
||||||
command: [cargo_script,
|
command: [cargo_script,
|
||||||
'@CURRENT_SOURCE_DIR@',
|
'@CURRENT_SOURCE_DIR@',
|
||||||
'@OUTPUT@',
|
'@OUTPUT@',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user