forked from MacDownApp/macdown
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPodfile
More file actions
43 lines (35 loc) · 1.17 KB
/
Copy pathPodfile
File metadata and controls
43 lines (35 loc) · 1.17 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
MIN_DEPLOYMENT_TARGET = '11.0'
platform :osx, MIN_DEPLOYMENT_TARGET
source 'https://github.com/MacDownApp/cocoapods-specs.git' # Patched libraries.
source 'https://cdn.cocoapods.org/'
project 'MacDown.xcodeproj'
inhibit_all_warnings!
target "MacDown" do
pod 'handlebars-objc', '~> 1.4'
pod 'hoedown', '~> 3.0.7', :inhibit_warnings => false
pod 'JJPluralForm', '~> 2.1'
pod 'LibYAML', '~> 0.1'
pod 'M13OrderedDictionary', '~> 1.1'
pod 'MASPreferences', '~> 1.4'
pod 'PAPreferences', '~> 0.5'
end
target "MacDownTests" do
pod 'PAPreferences', '~> 0.5'
pod 'hoedown', '~> 3.0.7', :inhibit_warnings => false
end
target "macdown-cmd" do
pod 'GBCli', '~> 1.1'
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
target_version = config.build_settings['MACOSX_DEPLOYMENT_TARGET']
if target_version.nil? || target_version.to_f < MIN_DEPLOYMENT_TARGET.to_f
config.build_settings['MACOSX_DEPLOYMENT_TARGET'] = MIN_DEPLOYMENT_TARGET
end
if target.name == 'handlebars-objc'
config.build_settings['GCC_WARN_INHIBIT_ALL_WARNINGS'] = 'YES'
end
end
end
end