[gnome-builder] plugins/meson-templates/rust: make build always stale
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] plugins/meson-templates/rust: make build always stale
- Date: Sun, 28 Aug 2022 20:51:08 +0000 (UTC)
commit 1241ae2bd7dae945ed4816e7bf97a39590b7d55c
Author: Marco Melorio <marco melorio protonmail com>
Date: Sun Aug 28 17:42:36 2022 +0200
plugins/meson-templates/rust: make build always stale
This was missing after 674b6e0c8c4f02a3710040462d54dcd624297469. This is
needed because otherwise meson will always skip the build, even when
rust files are changed.
src/plugins/meson-templates/resources/src/meson-cli.build | 1 +
src/plugins/meson-templates/resources/src/meson-rs-gtk4.build | 1 +
2 files changed, 2 insertions(+)
---
diff --git a/src/plugins/meson-templates/resources/src/meson-cli.build
b/src/plugins/meson-templates/resources/src/meson-cli.build
index 18210b68c..071025562 100644
--- a/src/plugins/meson-templates/resources/src/meson-cli.build
+++ b/src/plugins/meson-templates/resources/src/meson-cli.build
@@ -40,6 +40,7 @@ endif
cargo_build = custom_target(
'cargo-build',
build_by_default: true,
+ build_always_stale: true,
output: meson.project_name(),
console: true,
install: true,
diff --git a/src/plugins/meson-templates/resources/src/meson-rs-gtk4.build
b/src/plugins/meson-templates/resources/src/meson-rs-gtk4.build
index 4892c3db5..f5fab69d5 100644
--- a/src/plugins/meson-templates/resources/src/meson-rs-gtk4.build
+++ b/src/plugins/meson-templates/resources/src/meson-rs-gtk4.build
@@ -43,6 +43,7 @@ endif
cargo_build = custom_target(
'cargo-build',
build_by_default: true,
+ build_always_stale: true,
output: meson.project_name(),
console: true,
install: true,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]