Azure / Azure/azure-sdk-for-rust

Run `cargo` commands using package name instead of pushing into directory

Open
#1,934 1 comment 0 reactions 1 assignee Assigned to @danieljurek View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.