Commit ffcdd0d1 authored by Todd Volkert's avatar Todd Volkert

Merge pull request #1801 from tvolkert/master

Ignore generated/ instead of ios/
parents 78181d82 5d496143
......@@ -5,6 +5,5 @@
.packages
.pub/
build/
ios/
packages
pubspec.lock
......@@ -82,7 +82,7 @@ class AndroidApk extends ApplicationPackage {
class IOSApp extends ApplicationPackage {
static const String _defaultId = 'io.flutter.runner.Runner';
static const String _defaultPath = 'ios/Generated';
static const String _defaultPath = 'ios/.generated';
IOSApp({
String localPath: _defaultPath,
......
......@@ -152,7 +152,7 @@ class IOSCommand extends FlutterCommand {
Future<int> _runInitCommand() async {
// Step 1: Fetch the archive from the cloud
String iosFilesPath = path.join(Directory.current.path, "ios");
String xcodeprojPath = path.join(iosFilesPath, "Generated");
String xcodeprojPath = path.join(iosFilesPath, ".generated");
List<int> archiveBytes = await _fetchXcodeArchive();
if (archiveBytes.isEmpty) {
......@@ -172,7 +172,7 @@ class IOSCommand extends FlutterCommand {
// one does not exist.
File generatedGitignore = new File(path.join(iosFilesPath, ".gitignore"));
if (!generatedGitignore.existsSync()) {
generatedGitignore.writeAsStringSync("Generated/\n");
generatedGitignore.writeAsStringSync(".generated/\n");
}
// Step 4: Setup default user editable files if this is the first run of
......
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