Skip to content

Commit

Permalink
chore: make CARGO_PRESHELL a list variable
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Feb 19, 2025
1 parent d2b093e commit 9e86574
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions laze-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ contexts:
CARGO:
- ${CARGO_WRAPPER}
- cargo
CARGO_PRESHELL: true &&

tasks:
info-modules:
Expand Down Expand Up @@ -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:
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 9e86574

Please sign in to comment.