Turn on iOS podspec linting in test (#77028)
This commit is contained in:
@@ -44,14 +44,13 @@ Future<void> main() async {
|
||||
'lib',
|
||||
'lint',
|
||||
objcPodspecPath,
|
||||
'--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
|
||||
'--allow-warnings',
|
||||
'--verbose',
|
||||
],
|
||||
environment: <String, String>{
|
||||
'LANG': 'en_US.UTF-8',
|
||||
},
|
||||
// TODO(jmagman): Flutter cannot build against ARM simulators https://github.com/flutter/flutter/issues/64502
|
||||
canFail: true,
|
||||
);
|
||||
});
|
||||
|
||||
@@ -64,6 +63,7 @@ Future<void> main() async {
|
||||
'lib',
|
||||
'lint',
|
||||
objcPodspecPath,
|
||||
'--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
|
||||
'--allow-warnings',
|
||||
'--use-libraries',
|
||||
'--verbose',
|
||||
@@ -71,8 +71,6 @@ Future<void> main() async {
|
||||
environment: <String, String>{
|
||||
'LANG': 'en_US.UTF-8',
|
||||
},
|
||||
// TODO(jmagman): Flutter cannot build against ARM simulators https://github.com/flutter/flutter/issues/64502
|
||||
canFail: true,
|
||||
);
|
||||
});
|
||||
|
||||
@@ -103,6 +101,7 @@ Future<void> main() async {
|
||||
<String>[
|
||||
'lib',
|
||||
'lint',
|
||||
'--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
|
||||
swiftPodspecPath,
|
||||
'--allow-warnings',
|
||||
'--verbose',
|
||||
@@ -110,8 +109,6 @@ Future<void> main() async {
|
||||
environment: <String, String>{
|
||||
'LANG': 'en_US.UTF-8',
|
||||
},
|
||||
// TODO(jmagman): Flutter cannot build against ARM simulators https://github.com/flutter/flutter/issues/64502
|
||||
canFail: true,
|
||||
);
|
||||
});
|
||||
|
||||
@@ -124,6 +121,7 @@ Future<void> main() async {
|
||||
'lib',
|
||||
'lint',
|
||||
swiftPodspecPath,
|
||||
'--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
|
||||
'--allow-warnings',
|
||||
'--use-libraries',
|
||||
'--verbose',
|
||||
@@ -131,8 +129,6 @@ Future<void> main() async {
|
||||
environment: <String, String>{
|
||||
'LANG': 'en_US.UTF-8',
|
||||
},
|
||||
// TODO(jmagman): Flutter cannot build against ARM simulators https://github.com/flutter/flutter/issues/64502
|
||||
canFail: true,
|
||||
);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user