Skip to content

Commit

Permalink
Emit warning when asked to build a virtual proj
Browse files Browse the repository at this point in the history
  • Loading branch information
nazq committed Jul 13, 2024
1 parent d3a8440 commit c668625
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rye/src/cli/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@ pub fn execute(cmd: Args) -> Result<(), Error> {
for project in projects {
// skip over virtual packages on build
if project.is_virtual() {
warn!(
"skipping virtual package {}",
style(project.normalized_name()?).cyan()
);
continue;
}

Expand Down

0 comments on commit c668625

Please sign in to comment.