Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emit warning when asked to build a virtual proj #1227

Merged
merged 1 commit into from
Jul 13, 2024

Conversation

nazq
Copy link
Contributor

@nazq nazq commented Jul 13, 2024

No description provided.

warn!(
"skipping virtual package {}",
style(project.normalized_name()?).cyan()
);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder if we should only do this when all projects are virtual?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great suggestion

Copy link
Contributor Author

@nazq nazq Jul 13, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pushed an update, then cleaned up the control flow a little

virtual projects, or a single virtual project
@charliermarsh charliermarsh merged commit f742c95 into astral-sh:main Jul 13, 2024
8 checks passed
@charliermarsh
Copy link
Member

Thanks!

@nazq nazq deleted the warn-virtual branch July 13, 2024 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants