Skip to content

Conversation

@xster
Copy link
Member

@xster xster commented Apr 30, 2020

No description provided.

@xster xster marked this pull request as draft April 30, 2020 19:29
Copy link
Contributor

@jonahwilliams jonahwilliams left a comment

Choose a reason for hiding this comment

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

on L109 a BuildInfo is constructed from mode/flavor and tree shake icons. That needs to be updated to do everything that https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/runner/flutter_command.dart#L543 does

: '1.0';

for (final String buildMode in const <String>['debug', 'profile', 'release']) {
const Map<String, BuildInfo> buildModes = {'debug': BuildInfo.debug, 'profile': BuildInfo.profile, 'release': BuildInfo.release};
Copy link
Contributor

Choose a reason for hiding this comment

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

You're still using default values here, you'll need to explicitly construct a build info with all of the parameters set that you care about:

Copy link
Member Author

Choose a reason for hiding this comment

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

seems like that's what build_ios_framework is doing too. Does that one need refactoring too?

Copy link
Contributor

Choose a reason for hiding this comment

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

🤷‍♂️

@xster xster closed this May 6, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants