-
Notifications
You must be signed in to change notification settings - Fork 1
/
ProtonCore-Doh.podspec
55 lines (39 loc) · 1.85 KB
/
ProtonCore-Doh.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
44
45
46
47
48
49
50
51
52
53
54
55
require_relative 'pods_configuration'
Pod::Spec.new do |s|
s.name = 'ProtonCore-Doh'
s.module_name = 'ProtonCoreDoh'
s.version = $version
s.summary = 'shared frameworks'
s.description = <<-DESC
ios shared frameworks for all client apps
DESC
s.homepage = $homepage
s.license = $license
s.author = $author
s.source = $source
s.ios.deployment_target = $ios_deployment_target
s.osx.deployment_target = $macos_deployment_target
s.swift_versions = $swift_versions
s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' }
s.dependency "ProtonCore-Log", $version
s.dependency "ProtonCore-Utilities", $version
this_pod_does_not_have_subspecs(s)
s.source_files = "libraries/Doh/Sources/*.swift"
s.test_spec 'UnitTests' do |doh_tests|
doh_tests.dependency 'ProtonCore-TestingToolkit/UnitTests/Doh', $version
doh_tests.dependency "ProtonCore-ObfuscatedConstants", $version
doh_tests.source_files = "libraries/Doh/Tests/Unit/*.swift"
doh_tests.dependency 'OHHTTPStubs/Swift'
doh_tests.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'NO' }
end
s.test_spec 'IntegrationTests' do |doh_tests|
doh_tests.dependency "ProtonCore-TestingToolkit/UnitTests/Core", $version
doh_tests.dependency "ProtonCore-Environment", $version
doh_tests.dependency "ProtonCore-Authentication", $version
doh_tests.dependency "ProtonCore-Observability", $version
doh_tests.dependency "ProtonCore-Services", $version
doh_tests.source_files = "libraries/Doh/Tests/Integration/*.swift"
add_dynamic_domain_to_info_plist(doh_tests)
doh_tests.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'NO' }
end
end