-
Notifications
You must be signed in to change notification settings - Fork 30
/
Barista.podspec
68 lines (54 loc) · 2.34 KB
/
Barista.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
61
62
63
64
65
66
67
68
Pod::Spec.new do |s|
s.ios.deployment_target = "6.0"
s.osx.deployment_target = "10.7"
s.name = 'Barista'
s.version = '0.0.3'
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
s.homepage = 'https://github.com/stevestreza/Barista'
s.authors = { 'Steve Streza' => 'steve@mustacheware.com' }
s.summary = 'A modular, embeddable web server for Objective-C.'
s.source = { :git => 'https://github.com/stevestreza/Barista.git', :tag => 'v0.0.3' }
s.requires_arc = true
s.subspec 'Core' do |core|
s.dependency 'CocoaAsyncSocket', '~> 7.0'
s.dependency 'JLRoutes', '~> 1.4'
s.source_files = 'Barista/*.h', 'Barista/Core/*.{h,m}'
s.framework = 'Foundation', 'Security'
end
s.subspec 'Middleware' do |middleware|
middleware.dependency 'Barista/Core'
middleware.subspec 'BodyParsing' do |bodyParsing|
bodyParsing.source_files = 'Barista/Middleware/Body Parsing/*.{h,m}'
end
middleware.subspec 'Cookies' do |cookies|
cookies.source_files = 'Barista/Middleware/Cookies/*.{h,m}'
end
middleware.subspec 'Compression' do |compression|
compression.source_files = 'Barista/Middleware/Compression/*.{h,m}', 'Barista/Categories/NSData+BaristaExtensions.{h,m}'
compression.libraries = 'z'
end
middleware.subspec 'Files' do |files|
files.ios.frameworks = 'MobileCoreServices'
files.source_files = 'Barista/Middleware/Files/*.{h,m}'
end
middleware.subspec 'Router' do |router|
router.source_files = 'Barista/Middleware/Router/*.{h,m}'
end
middleware.subspec 'Sessions' do |sessions|
sessions.source_files = 'Barista/Middleware/Sessions/*.{h,m}'
end
middleware.subspec 'Authentication' do |authentication|
authentication.source_files = 'Barista/Middleware/Authentication/*.{h,m}'
authentication.subspec 'Basic' do |basicAuth|
basicAuth.source_files = 'Barista/Middleware/Authentication/Basic/*.{h,m}', 'Barista/Categories/NSData+Base64.{h,m}'
end
end
middleware.subspec 'Templates' do |templates|
templates.source_files = 'Barista/Middleware/Templates/*.{h,m}'
templates.subspec 'Mustache' do |mustache|
mustache.dependency 'GRMustache', '~> 6.4.1'
mustache.source_files = 'Barista/Middleware/Templates/Mustache/*.{h,m}'
end
end
end
end