Skip to content

Commit e234425

Browse files
authored
[ci] Temporarily allow-warnings in podspec_check_command.dart (#6416)
Adds `--allow-warnings` to podspec_check_command.dart so stuff can keep rolling. **To be removed soon!**
1 parent 974f284 commit e234425

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

script/tool/lib/src/podspec_check_command.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ class PodspecCheckCommand extends PackageLoopingCommand {
151151
podspecPath,
152152
'--configuration=Debug', // Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
153153
'--skip-tests',
154+
'--allow-warnings',
154155
'--use-modular-headers', // Flutter sets use_modular_headers! in its templates.
155156
if (libraryLint) '--use-libraries'
156157
];

script/tool/test/podspec_check_command_test.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ void main() {
156156
.path,
157157
'--configuration=Debug',
158158
'--skip-tests',
159+
'--allow-warnings',
159160
'--use-modular-headers',
160161
'--use-libraries'
161162
],
@@ -171,6 +172,7 @@ void main() {
171172
.path,
172173
'--configuration=Debug',
173174
'--skip-tests',
175+
'--allow-warnings',
174176
'--use-modular-headers',
175177
],
176178
packagesDir.path),
@@ -212,6 +214,7 @@ void main() {
212214
.path,
213215
'--configuration=Debug',
214216
'--skip-tests',
217+
'--allow-warnings',
215218
'--use-modular-headers',
216219
'--use-libraries'
217220
],
@@ -227,6 +230,7 @@ void main() {
227230
.path,
228231
'--configuration=Debug',
229232
'--skip-tests',
233+
'--allow-warnings',
230234
'--use-modular-headers',
231235
],
232236
packagesDir.path),

0 commit comments

Comments
 (0)