mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Merge pull request #1743 from devoncarew/ignore_io_build
ignore derived resources in ios/build
This commit is contained in:
commit
a9a445b19d
@ -140,12 +140,13 @@ abstract class Template {
|
||||
|
||||
class FlutterSimpleTemplate extends Template {
|
||||
FlutterSimpleTemplate() : super('flutter-simple', 'A minimal Flutter project.') {
|
||||
files['.analysis_options'] = _analysis_options;
|
||||
files['.gitignore'] = _gitignore;
|
||||
files['flutter.yaml'] = _flutterYaml;
|
||||
files['pubspec.yaml'] = _pubspec;
|
||||
files['README.md'] = _readme;
|
||||
files['lib/main.dart'] = _libMain;
|
||||
files['apk/AndroidManifest.xml'] = _apkManifest;
|
||||
files['lib/main.dart'] = _libMain;
|
||||
}
|
||||
}
|
||||
|
||||
@ -157,6 +158,12 @@ String _normalizeProjectName(String name) {
|
||||
return name;
|
||||
}
|
||||
|
||||
const String _analysis_options = r'''
|
||||
analyzer:
|
||||
exclude:
|
||||
- 'ios/build/**'
|
||||
''';
|
||||
|
||||
const String _gitignore = r'''
|
||||
.DS_Store
|
||||
.atom/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user