• stuartmorgan's avatar
    Don't use example folder as a project type signal (#97157) · 2dd8cb1c
    stuartmorgan authored
    The code to generate platform files used to use the presence of an
    'example' folder to determine whether or not a project was a plugin (in
    which case that generation is bypassed). Later, robust detection was
    added based on the pubspec.yaml `plugin` key, but the old check was left
    in place. This creates false positives where people who add an example
    folder to their app project start getting mysterious failures.
    
    Since the pubspec check is definitive, there's no reason to continue to
    use the presence of `example` as an indicator at all.
    
    Fixes https://github.com/flutter/flutter/issues/87007
    2dd8cb1c
Name
Last commit
Last update
..
bin Loading commit data...
doc Loading commit data...
gradle Loading commit data...
ide_templates/intellij Loading commit data...
lib Loading commit data...
static Loading commit data...
templates Loading commit data...
test Loading commit data...
tool Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
dart_test.yaml Loading commit data...
pubspec.yaml Loading commit data...