[fractal/fractal-next] build-aux: Move cargo-home to the root of build dir
- From: Julian Sparber <jsparber src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal/fractal-next] build-aux: Move cargo-home to the root of build dir
- Date: Thu, 6 May 2021 20:29:18 +0000 (UTC)
commit 503ff3eadf93e1e8924a6a29c6b609daf263ba21
Author: Veli Tasali <veli tasali gmail com>
Date: Thu May 6 19:17:33 2021 +0300
build-aux: Move cargo-home to the root of build dir
This avoids rebuilding all the dependencies
everytime in GNOME Builder.
https://gitlab.gnome.org/bilelmoussaoui/gtk-rust-template/-/commit/51c3732beaa792492fd1efa47666dc2f144e978b
build-aux/cargo.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/build-aux/cargo.sh b/build-aux/cargo.sh
index 42bfb1e0..9ad379f0 100644
--- a/build-aux/cargo.sh
+++ b/build-aux/cargo.sh
@@ -3,7 +3,7 @@
export MESON_BUILD_ROOT="$1"
export MESON_SOURCE_ROOT="$2"
export CARGO_TARGET_DIR="$MESON_BUILD_ROOT"/target
-export CARGO_HOME="$CARGO_TARGET_DIR"/cargo-home
+export CARGO_HOME="$MESON_BUILD_ROOT"/cargo-home
if [[ $4 = "Devel" ]]
then
@@ -18,3 +18,4 @@ else
cp "$CARGO_TARGET_DIR"/release/$5 $3
fi
+
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]