mirror of
https://github.com/flutter/flutter
synced 2024-10-30 01:59:05 +00:00
685e9d1e47
Adds initial support for flutter create of apps and plugins. This is derived from the current FDE example app and sample plugin, adding template values where relevant. Since the APIs/tooling/template aren't stable yet, the app template includes a version marker, which will be updated each time there's a breaking change. The build now checks that the template version matches the version known by that version of the tool, and gives a specific error message when there's a mismatch, which improves over the current breaking change experience of hitting whatever build failure the breaking change causes and having to figure out that the problem is that the runner is out of date. It also adds a warning to the create output about the fact that it won't be stable. Plugins don't currently have a version marker since in practice this is not a significant problem for plugins yet the way it is for runners; we can add it later if that changes. Fixes #30704
34 lines
824 B
Text
34 lines
824 B
Text
# Auto detect text files and perform LF normalization
|
|
* text=auto
|
|
|
|
# Always perform LF normalization on these files
|
|
*.dart text
|
|
*.gradle text
|
|
*.html text
|
|
*.java text
|
|
*.json text
|
|
*.md text
|
|
*.py text
|
|
*.sh text
|
|
*.txt text
|
|
*.xml text
|
|
*.yaml text
|
|
|
|
# Make sure that these Windows files always have CRLF line endings in checkout
|
|
*.bat text eol=crlf
|
|
*.ps1 text eol=crlf
|
|
*.rc text eol=crlf
|
|
*.sln text eol=crlf
|
|
*.props text eol=crlf
|
|
*.vcxproj text eol=crlf
|
|
*.vcxproj.filters text eol=crlf
|
|
# Including templatized versions.
|
|
*.sln.tmpl text eol=crlf
|
|
*.props.tmpl text eol=crlf
|
|
*.vcxproj.tmpl text eol=crlf
|
|
|
|
# Never perform LF normalization on these files
|
|
*.ico binary
|
|
*.jar binary
|
|
*.png binary
|
|
*.zip binary
|