From 9e86574e8d32834f3ee4daf50ba302a98bed77d0 Mon Sep 17 00:00:00 2001 From: chrysn Date: Wed, 19 Feb 2025 09:33:53 +0100 Subject: [PATCH] chore: make CARGO_PRESHELL a list variable --- laze-project.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/laze-project.yml b/laze-project.yml index 44db2047b..a45b8dbe9 100644 --- a/laze-project.yml +++ b/laze-project.yml @@ -8,7 +8,6 @@ contexts: CARGO: - ${CARGO_WRAPPER} - cargo - CARGO_PRESHELL: true && tasks: info-modules: @@ -67,6 +66,11 @@ contexts: joiner: "," LOG: joiner: "," + CARGO_PRESHELL: + # List of extra commands to be executed by the shell that runs cargo before cargo is run. + # + # This is typically used to source addtitional shell scripts that set up extra environment. + suffix: " && " # this prefixes `--protocol=` to `PROBE_RS_PROTOCOL` PROBE_RS_PROTOCOL: @@ -496,7 +500,7 @@ modules: # Note that one \ escapes for YAML, the reaming \ escapes for laze, # and the second $ escapes for laze's internal ninja, resulting in # the shell to see just ${ESPUP_... - - . $\\${ESPUP_EXPORT_FILE:-~/export-esp.sh} && + - . $\\${ESPUP_EXPORT_FILE:-~/export-esp.sh} - name: riscv env: