forked from SwiftGen/SwiftGen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Podfile
41 lines (32 loc) · 831 Bytes
/
Podfile
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
platform :osx, '10.9'
use_frameworks!
raise 'Please use bundle exec to run the pod command' unless defined?(Bundler)
def common_pods
podspec :path => 'SwiftGenKit.podspec'
pod 'SwiftLint', '~> 0.30'
end
target 'swiftgen' do
common_pods
pod 'Commander', '~> 0.8'
pod 'StencilSwiftKit', '~> 2.7'
target 'SwiftGen UnitTests' do
inherit! :complete
end
target 'Templates UnitTests' do
inherit! :complete
end
end
target 'SwiftGenKit' do
common_pods
target 'SwiftGenKit UnitTests' do
inherit! :complete
end
end
post_install do | installer |
require 'fileutils'
# copy Info.plist files
pods_with_info_plist = %w(Stencil StencilSwiftKit)
pods_with_info_plist.each do |pod|
FileUtils.cp_r("Pods/Target Support Files/#{pod}/#{pod}-Info.plist", "Resources/#{pod}-Info.plist")
end
end