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

Allow user to specify legacy or new build system. #50

Merged
merged 5 commits into from
Nov 15, 2021
Merged

Allow user to specify legacy or new build system. #50

merged 5 commits into from
Nov 15, 2021

Conversation

ArthurKValladares
Copy link
Contributor

No description provided.

@ArthurKValladares ArthurKValladares linked an issue Nov 10, 2021 that may be closed by this pull request
Copy link
Contributor

@francesca64 francesca64 left a comment

Choose a reason for hiding this comment

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

Thanks!

@@ -51,6 +51,7 @@ pub struct Raw {
pub ios_features: Option<Vec<String>>,
pub macos_no_default_features: Option<bool>,
pub macos_features: Option<Vec<String>>,
pub use_legacy_build_system: bool,
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm pretty sure that this not being wrapped in an Option will result in it unconditionally being written to mobile.toml, when ideally we want it to be unspecified by default (defaulting to true when upgrading to non-raw Config)

@@ -193,11 +194,12 @@ impl Config {
);
Ok(DEFAULT_PROJECT_DIR.to_owned())
})?;

let use_legacy_build_system = raw.use_legacy_build_system.unwrap_or(true);
Copy link
Contributor

Choose a reason for hiding this comment

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

Keeping this inline is fine

Copy link
Contributor

@francesca64 francesca64 left a comment

Choose a reason for hiding this comment

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

Thanks!

@francesca64 francesca64 merged commit 37e6072 into BrainiumLLC:master Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Don't use deprecated build system in Xcode
2 participants