-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMenuKit.podspec
60 lines (48 loc) · 1.98 KB
/
MenuKit.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 |s|
s.name = 'MenuKit'
s.version = '0.9.1'
s.summary = 'Objective-C menu and order framework optimized for encoding into barcodes.'
s.description = <<-DESC
This project provides an implementation of a menu domain model and menu
ordering framework that is designed with encoding orders into 2D barcodes.
DESC
s.homepage = 'https://github.com/Blue-Rocket/BRMenu'
s.license = { :type => 'Apache License, Version 2.0', :file => 'LICENSE.txt' }
s.author = { 'Matt Magoffin' => 'matt@bluerocket.us' }
s.platform = :ios, '8.4'
s.source = { :git => 'https://github.com/Blue-Rocket/BRMenu.git',
:tag => s.version.to_s }
s.requires_arc = true
s.default_subspecs = 'All'
s.subspec 'All' do |sp|
sp.source_files = 'Menu/Code/MenuKit.h'
sp.dependency 'MenuKit/Core'
sp.dependency 'MenuKit/RestKit'
sp.dependency 'MenuKit/AFNetworking'
sp.dependency 'MenuKit/UI'
end
s.subspec 'Core' do |sp|
sp.source_files = 'Menu/Code/Core.h', 'Menu/Code/Core'
sp.dependency 'CocoaLumberjack', '~> 2.0'
sp.dependency 'BRStyle/Core', '~> 0.11'
sp.resource_bundle = { 'BRMenu' => 'Menu/Resources/Core/**' }
end
s.subspec 'RestKit' do |sp|
sp.source_files = 'Menu/Code/RestKit.h', 'Menu/Code/RestKit'
sp.dependency 'MenuKit/Core'
sp.dependency 'RestKit/ObjectMapping', '~> 0.24'
end
s.subspec 'AFNetworking' do |sp|
sp.source_files = 'Menu/Code/AFNetworking.h', 'Menu/Code/AFNetworking'
sp.dependency 'MenuKit/RestKit'
sp.dependency 'AFNetworking', '~> 2.5'
end
s.subspec 'UI' do |sp|
sp.source_files = 'Menu/Code/UI.h', 'Menu/Code/UI'
sp.dependency 'MenuKit/Core'
sp.dependency 'BRLocalize/Core', '~> 0.9'
sp.dependency 'BRPDFImage', '~> 1.0'
sp.dependency 'Masonry', '~> 0.6'
sp.resource_bundle = { 'BRMenuUI' => 'Menu/Resources/UI/**/*.{storyboard,lproj,pdf}' }
end
end