-
Notifications
You must be signed in to change notification settings - Fork 149
Expand file tree
/
Copy pathWordPress-Aztec-iOS.podspec
More file actions
52 lines (45 loc) · 1.57 KB
/
WordPress-Aztec-iOS.podspec
File metadata and controls
52 lines (45 loc) · 1.57 KB
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
44
45
46
47
48
49
50
51
52
# frozen_string_literal: true
Pod::Spec.new do |s|
s.name = 'WordPress-Aztec-iOS'
s.version = '1.20.0'
s.summary = 'The native HTML Editor.'
s.description = <<-DESC
The native HTML Editor by Automattic Inc.
This library provides a UITextView subclass with HTML visual editing capabilities.
DESC
s.homepage = 'https://github.com/wordpress-mobile/AztecEditor-iOS'
s.license = { type: 'MPLv2', file: 'LICENSE.md' }
s.author = { 'The WordPress Mobile Team' => 'mobile@wordpress.org' }
s.ios.deployment_target = '13.0'
s.swift_version = '5.0'
s.source = { git: 'https://github.com/wordpress-mobile/AztecEditor-iOS.git', tag: s.version.to_s }
s.module_name = 'Aztec'
s.source_files = [
'Sources/Aztec/Classes/**/*',
'Sources/HTMLParser/**/*'
]
s.resource_bundles = {
'WordPress-Aztec-iOS': [
'Sources/Aztec/Assets/**/*'
]
}
s.xcconfig = {
'OTHER_LDFLAGS' => '-lxml2',
'HEADER_SEARCH_PATHS' => '/usr/include/libxml2'
}
s.test_spec 'Tests' do |test_spec|
test_spec.source_files = [
'Tests/AztecTests/**/*.{h,m,swift}',
'Tests/HTMLParserTests/**/*.{h,m,swift}'
]
test_spec.resources = [
'Tests/AztecTests/Resources/**/*.{dat,png,jpg,jpeg,json,xctestplan,html}',
'Tests/HTMLParserTests/Resources/**/*.{dat,png,jpg,jpeg,json,xctestplan,html}'
]
test_spec.preserve_paths = [
'Tests/AztecTests/**/*.xctestplan',
'Tests/HTMLParserTests/**/*.xctestplan'
]
test_spec.frameworks = 'XCTest'
end
end