-
Notifications
You must be signed in to change notification settings - Fork 22
/
WordPressShared.podspec
43 lines (34 loc) · 1.55 KB
/
WordPressShared.podspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# frozen_string_literal: true
# rubocop:disable Metrics/BlockLength
Pod::Spec.new do |s|
s.name = 'WordPressShared'
s.version = '2.4.0'
s.summary = 'Shared components used in building the WordPress iOS apps and other library components.'
s.description = <<-DESC
Shared components used in building the WordPress iOS apps and other library components.
This is the first step required to build WordPress-iOS with UI components.
DESC
s.homepage = 'https://github.com/wordpress-mobile/WordPress-iOS-Shared'
s.license = { type: 'GPLv2', file: 'LICENSE' }
s.author = { 'The WordPress Mobile Team' => '[email protected]' }
s.platform = :ios, '13.0'
s.swift_version = '5.0'
s.source = { git: 'https://github.com/wordpress-mobile/WordPress-iOS-Shared.git', tag: s.version.to_s }
s.source_files = ['Sources/**/*.{h,m,swift}']
s.public_header_files = 'Sources/WordPressSharedObjC/include', 'Sources/WordPressSharedObjC/WordPressShared.h'
s.private_header_files = 'Sources/WordPressSharedObjC/Private/*.h'
s.resource_bundles = {
WordPressShared: [
'Sources/WordPressShared/Resources/*.{ttf,otf,json}',
'Sources/WordPressSharedObjC/Resources/*.{ttf,otf,json}'
]
}
s.test_spec do |test|
test.source_files = [
'Tests/WordPressSharedTests/**/*.{swift}',
'Tests/WordPressSharedTestsObjC/**/*.{h,m}'
]
test.resources = 'Tests/WordPressSharedObjCTests/Resources/*.{jpg,gif}'
end
end
# rubocop:enable Metrics/BlockLength