Specify --dev dependency for loopdev-3#10
Conversation
WalkthroughThe GitHub Action in Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Runner
participant Action as Action Script
participant Cargo as cargo
participant Remote as Remote Git
Runner->>Action: start
Action->>Action: iterate dependencies
alt dependency_type present
Action->>Cargo: cargo add <dep> <dependency_type> --git <url> --branch <branch>
else dependency_type empty
Action->>Cargo: cargo add <dep> --git <url> --branch <branch>
end
Cargo->>Remote: fetch repo/branch
Remote-->>Cargo: repo data
Cargo-->>Action: added/duplicate/error
Action->>Cargo: cargo tree
Cargo-->>Action: dependency tree output
Action-->>Runner: finish
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🔇 Additional comments (1)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
dd37d85 to
59c242e
Compare
Otherwise, cargo-add adds loopdev-3 as a regular source dependency, rather than overwriting the existing dev dependency specification. Signed-off-by: mulhern <amulhern@redhat.com>
No description provided.