Commit 427bc1e3 authored by Devon Carew's avatar Devon Carew

ignore derived resources in ios/build

parent a82b8963
...@@ -140,12 +140,13 @@ abstract class Template { ...@@ -140,12 +140,13 @@ abstract class Template {
class FlutterSimpleTemplate extends Template { class FlutterSimpleTemplate extends Template {
FlutterSimpleTemplate() : super('flutter-simple', 'A minimal Flutter project.') { FlutterSimpleTemplate() : super('flutter-simple', 'A minimal Flutter project.') {
files['.analysis_options'] = _analysis_options;
files['.gitignore'] = _gitignore; files['.gitignore'] = _gitignore;
files['flutter.yaml'] = _flutterYaml; files['flutter.yaml'] = _flutterYaml;
files['pubspec.yaml'] = _pubspec; files['pubspec.yaml'] = _pubspec;
files['README.md'] = _readme; files['README.md'] = _readme;
files['lib/main.dart'] = _libMain;
files['apk/AndroidManifest.xml'] = _apkManifest; files['apk/AndroidManifest.xml'] = _apkManifest;
files['lib/main.dart'] = _libMain;
} }
} }
...@@ -157,6 +158,12 @@ String _normalizeProjectName(String name) { ...@@ -157,6 +158,12 @@ String _normalizeProjectName(String name) {
return name; return name;
} }
const String _analysis_options = r'''
analyzer:
exclude:
- 'ios/build/**'
''';
const String _gitignore = r''' const String _gitignore = r'''
.DS_Store .DS_Store
.atom/ .atom/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment