mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
Merge pull request #1788 from chinmaygarde/master
Write a REVISION file in the ios directory to aid in version checks
This commit is contained in:
commit
94e9795b0b
@ -131,7 +131,12 @@ class IOSCommand extends FlutterCommand {
|
|||||||
// Step 3: Populate the Local.xcconfig with project specific paths
|
// Step 3: Populate the Local.xcconfig with project specific paths
|
||||||
_setupXcodeProjXcconfig(path.join(xcodeprojPath, "Local.xcconfig"));
|
_setupXcodeProjXcconfig(path.join(xcodeprojPath, "Local.xcconfig"));
|
||||||
|
|
||||||
// Step 4: Tell the user the location of the generated project.
|
// Step 4: Write the REVISION file
|
||||||
|
File revisionFile = new File(path.join(xcodeprojPath, "REVISION"));
|
||||||
|
revisionFile.createSync();
|
||||||
|
revisionFile.writeAsStringSync(ArtifactStore.engineRevision);
|
||||||
|
|
||||||
|
// Step 5: Tell the user the location of the generated project.
|
||||||
printStatus("An Xcode project has been placed in 'ios/'.");
|
printStatus("An Xcode project has been placed in 'ios/'.");
|
||||||
printStatus("You may edit it to modify iOS specific configuration.");
|
printStatus("You may edit it to modify iOS specific configuration.");
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user