• 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
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.ci.yaml Loading commit data...
.cirrus.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CODEOWNERS Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENT_GRANT Loading commit data...
README.md Loading commit data...
TESTOWNERS Loading commit data...
analysis_options.yaml Loading commit data...
dartdoc_options.yaml Loading commit data...
flutter_console.bat Loading commit data...