-
Notifications
You must be signed in to change notification settings - Fork 6
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
feat: variants in metadata #57
feat: variants in metadata #57
Conversation
4d21b51
to
941de05
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think there is a big amount of duplication, can you maybe add a card for it on the build board. Other than that its a few docstrings.
@@ -362,6 +348,38 @@ impl CMakeBuildBackend { | |||
sandbox_config: None, | |||
}) | |||
} | |||
|
|||
pub fn compute_variants( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could use some docs
@@ -322,31 +323,15 @@ impl PythonBuildBackend { | |||
} | |||
|
|||
/// Returns the build configuration for a recipe |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets improve these docs to be a bit less general :)
@@ -397,6 +381,38 @@ impl PythonBuildBackend { | |||
sandbox_config: None, | |||
}) | |||
} | |||
|
|||
pub fn compute_variants( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs
I added more docs to the PR, let me know what you think! @tdejager |
Refactors the code to use passed in variants for both build and metadata.