-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathBlueprintUILists.podspec
42 lines (29 loc) · 1.36 KB
/
BlueprintUILists.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
require_relative 'version'
Pod::Spec.new do |s|
s.name = 'BlueprintUILists'
s.version = LISTABLE_VERSION
s.summary = 'Declarative list views for iOS apps that deploy back to iOS 15.0.'
s.homepage = 'https://github.com/kyleve/Listable'
s.license = 'Apache License, Version 2.0'
s.author = { 'Kyle' => 'k@squareup.com' }
s.source = { git: 'https://github.com/kyleve/Listable.git', tag: "#{s.version}" }
s.ios.deployment_target = LISTABLE_IOS_DEPLOYMENT_TARGET
s.swift_versions = [LISTABLE_SWIFT_VERSION]
s.dependency 'ListableUI'
s.dependency 'BlueprintUI', *BLUEPRINT_VERSION
s.source_files = 'BlueprintUILists/Sources/**/*.{swift}'
s.pod_target_xcconfig = {
'APPLICATION_EXTENSION_API_ONLY' => 'YES',
}
unless ENV['LISTABLE_PUBLISHING']
# These tests can only be run locally, because they depend on local pods.
s.test_spec 'Tests' do |test_spec|
test_spec.source_files = 'BlueprintUILists/Tests/**/*.{swift}'
test_spec.ios.resource_bundle = { 'BlueprintUIListsResources' => 'BlueprintUILists/Tests/Resources/**/*.*' }
test_spec.dependency 'BlueprintUICommonControls', *BLUEPRINT_VERSION
test_spec.framework = 'XCTest'
test_spec.libraries = 'swiftsimd', 'swiftCoreGraphics', 'swiftFoundation', 'swiftUIKit'
test_spec.requires_app_host = true
end
end
end