Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
64056a1a
Unverified
Commit
64056a1a
authored
Jun 15, 2021
by
Jenn Magder
Committed by
GitHub
Jun 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix integration_test podspecs warnings (#84602)
parent
697928d2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
6 deletions
+53
-6
plugin_lint_mac.dart
dev/devicelab/bin/tasks/plugin_lint_mac.dart
+40
-0
integration_test_macos.podspec
...tegration_test_macos/macos/integration_test_macos.podspec
+7
-3
integration_test.podspec
packages/integration_test/ios/integration_test.podspec
+6
-3
No files found.
dev/devicelab/bin/tasks/plugin_lint_mac.dart
View file @
64056a1a
...
...
@@ -18,6 +18,46 @@ Future<void> main() async {
final
Directory
tempDir
=
Directory
.
systemTemp
.
createTempSync
(
'flutter_plugin_test.'
);
try
{
section
(
'Lint integration_test'
);
await
inDirectory
(
tempDir
,
()
async
{
// Relative to this script.
final
String
flutterRoot
=
path
.
dirname
(
path
.
dirname
(
path
.
dirname
(
path
.
dirname
(
path
.
dirname
(
path
.
fromUri
(
Platform
.
script
))))));
print
(
'Flutter root at
$flutterRoot
'
);
final
String
integrationTestPackage
=
path
.
join
(
flutterRoot
,
'packages'
,
'integration_test'
);
final
String
iosintegrationTestPodspec
=
path
.
join
(
integrationTestPackage
,
'ios'
,
'integration_test.podspec'
);
await
exec
(
'pod'
,
<
String
>[
'lib'
,
'lint'
,
iosintegrationTestPodspec
,
'--configuration=Debug'
,
// Release targets unsupported arm64 simulators. Use Debug to only build against targeted x86_64 simulator devices.
'--use-libraries'
,
'--verbose'
,
],
environment:
<
String
,
String
>{
'LANG'
:
'en_US.UTF-8'
,
},
);
final
String
macosintegrationTestPodspec
=
path
.
join
(
integrationTestPackage
,
'integration_test_macos'
,
'macos'
,
'integration_test_macos.podspec'
);
await
exec
(
'pod'
,
<
String
>[
'lib'
,
'lint'
,
macosintegrationTestPodspec
,
'--configuration=Debug'
,
// Release targets unsupported arm64 Apple Silicon. Use Debug to only build against targeted x86_64 macOS.
'--verbose'
,
],
environment:
<
String
,
String
>{
'LANG'
:
'en_US.UTF-8'
,
},
);
});
section
(
'Create Objective-C plugin'
);
const
String
objcPluginName
=
'test_plugin_objc'
;
...
...
packages/integration_test/integration_test_macos/macos/integration_test_macos.podspec
View file @
64056a1a
...
...
@@ -8,13 +8,17 @@ Pod::Spec.new do |s|
s
.
description
=
<<-
DESC
Runs tests that use the flutter_test API as integration tests on macOS.
DESC
s
.
homepage
=
'https://github.com/flutter/plugins/tree/master/packages/integration_test/integration_test_macos'
s
.
license
=
{
:type
=>
'BSD'
,
:file
=>
'../LICENSE'
}
s
.
homepage
=
'https://github.com/flutter/flutter/tree/master/packages/integration_test/integration_test_macos'
s
.
license
=
{
:type
=>
'BSD'
,
:text
=>
<<-
LICENSE
Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
LICENSE
}
s
.
author
=
{
'Flutter Team'
=>
'flutter-dev@googlegroups.com'
}
s
.
source
=
{
:http
=>
'https://github.com/flutter/
plugins/tree/master/packages/integration_test
'
}
s
.
source
=
{
:http
=>
'https://github.com/flutter/
flutter/tree/master/packages/integration_test/integration_test_macos
'
}
s
.
source_files
=
'Classes/**/*'
s
.
dependency
'FlutterMacOS'
s
.
platform
=
:osx
,
'10.11'
s
.
swift_version
=
'5.0'
s
.
pod_target_xcconfig
=
{
'DEFINES_MODULE'
=>
'YES'
}
end
packages/integration_test/ios/integration_test.podspec
View file @
64056a1a
...
...
@@ -8,10 +8,13 @@ Pod::Spec.new do |s|
s
.
description
=
<<-
DESC
Runs tests that use the flutter_test API as integration tests.
DESC
s
.
homepage
=
'https://github.com/flutter/plugins/tree/master/packages/integration_test'
s
.
license
=
{
:type
=>
'BSD'
,
:file
=>
'../LICENSE'
}
s
.
homepage
=
'https://github.com/flutter/flutter/tree/master/packages/integration_test'
s
.
license
=
{
:type
=>
'BSD'
,
:text
=>
<<-
LICENSE
Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
LICENSE
}
s
.
author
=
{
'Flutter Team'
=>
'flutter-dev@googlegroups.com'
}
s
.
source
=
{
:http
=>
'https://github.com/flutter/
plugins
/tree/master/packages/integration_test'
}
s
.
source
=
{
:http
=>
'https://github.com/flutter/
flutter
/tree/master/packages/integration_test'
}
s
.
source_files
=
'Classes/**/*'
s
.
public_header_files
=
'Classes/**/*.h'
s
.
dependency
'Flutter'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment