flutter build ios-framework generate Flutter.podspec (#47556)

This commit is contained in:
Jenn Magder
2019-12-23 13:12:36 -08:00
committed by GitHub
parent 4adad2c652
commit 9861a1c045
6 changed files with 321 additions and 43 deletions

View File

@@ -680,6 +680,9 @@ class FakeFlutterVersion implements FlutterVersion {
@override
String get frameworkVersion => null;
@override
GitTagVersion get gitTagVersion => null;
@override
String getBranchName({bool redactUnknownBranches = false}) {
return 'master';
@@ -829,6 +832,9 @@ class FakeCache implements Cache {
@override
String get dartSdkVersion => null;
@override
String get storageBaseUrl => null;
@override
MapEntry<String, String> get dyLdLibEntry => null;
@@ -860,6 +866,11 @@ class FakeCache implements Cache {
return fs.currentDirectory;
}
@override
File getLicenseFile() {
return fs.currentDirectory.childFile('LICENSE');
}
@override
File getStampFileFor(String artifactName) {
throw UnsupportedError('Not supported in the fake Cache');