Closed b2nkuu closed 2 months ago
Could you clarify the priority when both configs in pubspec.yaml
and build.yaml
exist?
Could you clarify the priority when both configs in
pubspec.yaml
andbuild.yaml
exist?
Yep, Priority of configuration file. High ---> Low build.yaml -> pubspec.yaml -> default_config
Yep, Priority of configuration file. High ---> Low build.yaml -> pubspec.yaml -> default_config
Thanks, in this case I would like to see if we can log what configuration the gen command is using, probably like: Reading FlutterGen options from xxxx.xxx.
.
Yep, Priority of configuration file. High ---> Low build.yaml -> pubspec.yaml -> default_config
Thanks, in this case I would like to see if we can log what configuration the gen command is using, probably like:
Reading FlutterGen options from xxxx.xxx.
.
Got it. I will add command to select file to read and default at pubspec.yaml OK?
Got it. I will add command to select file to read and default at pubspec.yaml OK?
We might focus on one specific feature in one request. Besides, we don't need such rich options AFAICT.
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 97.55%. Comparing base (
cf7b2a7
) to head (c2f70f2
). Report is 1 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What does this change?
Read config build.yaml and replacement configure after default, pubspec.yaml.
Priority of configuration file. High ---> Low build.yaml -> pubspec.yaml -> default_config
Fixes #114 🎯
Type of change
Checklist:
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
melos run test
)melos run format
to automatically apply formatting)