-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMGFormatter.podspec
More file actions
52 lines (42 loc) · 2.06 KB
/
MGFormatter.podspec
File metadata and controls
52 lines (42 loc) · 2.06 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
#
# Be sure to run `pod lib lint MGFormatter.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 http://guides.cocoapods.org/syntax/podspec.html
#
Pod::Spec.new do |s|
s.name = 'MGFormatter'
s.version = '0.6'
s.summary = 'A code formatting library for iOS.'
# 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
MGFormatter can format the JSON or HRML code in a view with customized keyword color and font.
DESC
s.homepage = 'https://github.com/lm2343635/MGFormatter'
s.screenshots = 'https://raw.githubusercontent.com/lm2343635/MGFormatter/master/screenshot/json-dark.png', 'https://raw.githubusercontent.com/lm2343635/MGFormatter/master/screenshot/html-dark.png'
s.license = { :type => 'MIT', :file => 'LICENSE' }
s.author = { 'lm2343635' => 'lm2343635@126.com' }
s.source = { :git => 'https://github.com/lm2343635/MGFormatter.git', :tag => s.version.to_s }
s.social_media_url = 'https://github.com/lm2343635/MGFormatter'
s.ios.deployment_target = '9.0'
s.swift_versions = '5.0'
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }
s.dependency 'SwiftyJSON', '~> 5'
s.dependency 'Fuzi', '~> 3'
s.dependency 'AttributedTextView', '~> 1'
s.default_subspec = 'Core'
s.subspec 'Core' do |core|
core.source_files = 'MGFormatter/Classes/Core/**/*'
core.xcconfig = { 'HEADER_SEARCH_PATHS' => '$(SDKROOT)/usr/include/libxml2' }
end
s.subspec 'Rx' do |rx|
rx.dependency 'MGFormatter/Core', '~> 0'
rx.dependency 'RxCocoa', '~> 6.0'
rx.source_files = 'MGFormatter/Classes/Rx/**/*'
end
end