Azure / Azure/azure-sdk-for-rust
Run `cargo` commands using package name instead of pushing into directory
Open
Central-EngSys
EngSys
- Dominant language
- Rust
- Stars
- 884
- Forks
- 365
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 112
Description
Since all our crates are in a single workspace, it's better that the pipeline commands (scripts, etc.) pass `--package` (short: `-p`) when supported because:
1. It's easier to see what package a command was run on if there's a failure (have to hunt for the directory we pushed into otherwise most times),
2. It's less maintenance and risk pushing into directories and popping on errors (it's rare, but I've seen the pop fail to be executed).
Contributor guide
Assessment
This issue has not been assessed yet.