forked from railsware/BloodMagic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBloodMagic.podspec
62 lines (51 loc) · 2.74 KB
/
BloodMagic.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
56
57
58
59
60
Pod::Spec.new do |podspec|
podspec.name = 'BloodMagic'
podspec.version = '1.0.0'
podspec.ios.deployment_target = '5.0'
podspec.osx.deployment_target = '10.7'
podspec.license = { :type => 'MIT' }
podspec.summary = 'BloodMagic provides kind of custom property attributes'
podspec.homepage = 'https://github.com/railsware/BloodMagic'
podspec.author = { 'Alex Denisov' => '[email protected]' }
podspec.source = { :git => 'https://github.com/railsware/BloodMagic.git', :tag => "#{podspec.version}" }
podspec.requires_arc = true
podspec.social_media_url = 'https://twitter.com/railsware'
podspec.subspec 'Core' do |core|
core.source_files = 'BloodMagic/Sources/Modules/Core/**/*.{h,m,mm}', 'BloodMagic/Core.h'
core.public_header_files = 'BloodMagic/Sources/Modules/Core/Public/**/*.h', 'BloodMagic/Core.h'
core.libraries = 'c++'
end
podspec.subspec 'Initializers' do |initializers|
initializers.source_files = 'BloodMagic/Sources/Modules/Initializers/**/*.{h,m,mm}', 'BloodMagic/Initializers.h'
initializers.public_header_files = 'BloodMagic/Sources/Modules/Initializers/Public/**/*.h', 'BloodMagic/Initializers.h'
initializers.dependency 'BloodMagic/Core'
end
podspec.subspec 'Lazy' do |lazy|
lazy.source_files = 'BloodMagic/Sources/Modules/Lazy/**/*.{h,m,mm}', 'BloodMagic/Lazy.h'
lazy.public_header_files = 'BloodMagic/Sources/Modules/Lazy/Public/**/*.h', 'BloodMagic/Lazy.h'
end
podspec.subspec 'Injectable' do |injectable|
injectable.source_files = 'BloodMagic/Sources/Modules/Injectable/**/*.{h,m,mm}', 'BloodMagic/Injectable.h'
injectable.public_header_files = 'BloodMagic/Sources/Modules/Injectable/Public/**/*.h', 'BloodMagic/Injectable.h'
injectable.dependency 'BloodMagic/Initializers'
end
podspec.subspec 'Partial' do |partial|
partial.source_files = 'BloodMagic/Sources/Modules/Partial/**/*.{h,m,mm}', 'BloodMagic/Partial.h'
partial.public_header_files = 'BloodMagic/Sources/Modules/Partial/Public/**/*.h', 'BloodMagic/Partial.h'
partial.dependency 'BloodMagic/Core'
end
podspec.subspec 'Final' do |final|
final.source_files = 'BloodMagic/Sources/Modules/Final/**/*.{h,m,mm}', 'BloodMagic/Final.h'
final.public_header_files = 'BloodMagic/Sources/Modules/Final/Public/**/*.h', 'BloodMagic/Final.h'
final.dependency 'BloodMagic/Core'
end
podspec.subspec 'Preference' do |preference|
preference.source_files = 'BloodMagic/Sources/Modules/Preference/**/*.{h,m,mm}', 'BloodMagic/Preference.h'
preference.public_header_files = 'BloodMagic/Sources/Modules/Preference/Public/**/*.h', 'BloodMagic/Preference.h'
preference.dependency 'BloodMagic/Core'
end
podspec.xcconfig = {
'OTHER_LDFLAGS' => '-lc++ -ObjC',
'CLANG_CXX_LIBRARY' => 'libc++'
}
end