You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
534e497 Enable usage of machine set CRATES var (Tobin C. Harding)
Pull request description:
Repos using the `run_task` script would like to set the `CRATES` env var by using
```bash
REPO_DIR=$(git rev-parse --show-toplevel)
CRATES="$(cargo metadata --no-deps --format-version 1 | jq -j -r '.packages | map(.manifest_path | rtrimstr("/Cargo.toml") | ltrimstr("'"$REPO_DIR"'/")) | join(" ")')"
```
I don't know exactly why but this results in some sort of square braces data type that seems to only work in a loop using `for crate in $CRATES` instead of the `for crate in ${CRATES[@]}` like we currently have.
ACKs for top commit:
apoelstra:
ACK 534e497
Kixunil:
ACK 534e497
Tree-SHA512: 542f0f2e4721d5efa43d298d3d0eff94cf9f701e047e3db1a882526a2def88a6504c73c52bcb04cd812e93c9d2e2fce571e25c8086f0a54dfcbfd7cb00d3f133
0 commit comments