Merge pull request #1743 from devoncarew/ignore_io_build

ignore derived resources in ios/build
This commit is contained in:
Devon Carew 2016-02-09 16:24:08 -08:00
commit a9a445b19d

View File

@ -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/