-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRapier.podspec
More file actions
65 lines (50 loc) · 2.11 KB
/
Rapier.podspec
File metadata and controls
65 lines (50 loc) · 2.11 KB
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
#
# Be sure to run `pod lib lint Rapier.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'Rapier'
s.version = '0.0.3'
s.summary = 'A dependency injection framework for swift.'
# This description is used to generate tags and improve search results.
# * Think: What does it do? Why did you write it? What is the focus?
# * Try to keep it short, snappy and to the point.
# * Write the description between the DESC delimiters below.
# * Finally, don't worry about the indent, CocoaPods strips it!
s.description = <<-DESC
This pods purpose is to reduce the boilerplate that comes with using dependency
injection. It generates an initializer for constructor/initializer injection
and class members from a dependencies annotation in addition to a handy factory class.
It uses sourcery for code generation and swinject to help build the object graph.
DESC
s.homepage = 'https://github.com/kaygro/Rapier'
# s.screenshots = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'kaygro' => 'kay@dein-superheld.de' }
s.source = { :git => 'https://github.com/kaygro/Rapier.git',
:tag => s.version.to_s }
# s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'
s.ios.deployment_target = '9.0'
s.swift_version = '4.1'
templates = 'Rapier/Templates/*.swifttemplate'
generated_files = 'Rapier/Generated/*.swift'
s.source_files = templates
s.dependency 'Swinject'
s.subspec 'AutoIntegrate' do |sp|
sp.source_files = templates
sp.dependency 'Sourcery'
#Currently not supported
# sp.ios.script_phase = {
# :name => 'Compile Templates',
# :script => script,
# :execution_position => :before_compile
#}
end
s.subspec 'Manual' do |sp|
sp.source_files = templates
end
s.default_subspecs = 'Manual'
end