|
1 |
| -# |
2 |
| -# Be sure to run `pod spec lint GCD.podspec' to ensure this is a |
3 |
| -# valid spec and to remove all comments including this before submitting the spec. |
4 |
| -# |
5 |
| -# To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html |
6 |
| -# To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/ |
7 |
| -# |
8 |
| - |
9 | 1 | Pod::Spec.new do |s|
|
10 |
| - |
11 |
| - # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
12 |
| - # |
13 |
| - # These will help people to find your library, and whilst it |
14 |
| - # can feel like a chore to fill in it's definitely to your advantage. The |
15 |
| - # summary should be tweet-length, and the description more in depth. |
16 |
| - # |
17 |
| - |
18 | 2 | s.name = "GCD"
|
19 | 3 | s.version = "0.1"
|
20 | 4 | s.summary = "A wrapper of Grand Central Dispatch written in Swift"
|
21 |
| - |
22 |
| - s.description = <<-DESC |
23 |
| - A longer description of GCD in Markdown format. |
24 |
| -
|
25 |
| - * Think: Why did you write this? What is the focus? What does it do? |
26 |
| - * CocoaPods will be using this to generate tags, and improve search results. |
27 |
| - * Try to keep it short, snappy and to the point. |
28 |
| - * Finally, don't worry about the indent, CocoaPods strips it! |
29 |
| - DESC |
30 |
| - |
31 | 5 | s.homepage = "https://github.com/nghialv/GCD"
|
32 |
| - # s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif" |
33 |
| - |
34 |
| - |
35 |
| - # ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
36 |
| - # |
37 |
| - # Licensing your code is important. See http://choosealicense.com for more info. |
38 |
| - # CocoaPods will detect a license file if there is a named LICENSE* |
39 |
| - # Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'. |
40 |
| - # |
41 |
| - |
42 |
| - s.license = "MIT" |
43 |
| - # s.license = { :type => "MIT", :file => "FILE_LICENSE" } |
44 |
| - |
45 |
| - |
46 |
| - # ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
47 |
| - # |
48 |
| - # Specify the authors of the library, with email addresses. Email addresses |
49 |
| - # of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also |
50 |
| - # accepts just a name if you'd rather not provide an email address. |
51 |
| - # |
52 |
| - # Specify a social_media_url where others can refer to, for example a twitter |
53 |
| - # profile URL. |
54 |
| - # |
55 |
| - |
| 6 | + s.license = { :type => "MIT", :file => "LICENSE" } |
56 | 7 | s.author = { "nghialv" => "[email protected]" }
|
57 |
| - # Or just: s.author = "Le Van Nghia" |
58 |
| - # s.authors = { "Le Van Nghia" => "[email protected]" } |
59 | 8 | s.social_media_url = "https://twitter.com/nghialv2607"
|
60 |
| - |
61 |
| - # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
62 |
| - # |
63 |
| - # If this Pod runs only on iOS or OS X, then specify the platform and |
64 |
| - # the deployment target. You can optionally include the target after the platform. |
65 |
| - # |
66 |
| - |
67 | 9 | s.platform = :ios
|
68 |
| - # s.platform = :ios, "5.0" |
69 |
| - |
70 |
| - # When using multiple platforms |
71 | 10 | s.ios.deployment_target = "7.0"
|
72 |
| - # s.osx.deployment_target = "10.7" |
73 |
| - |
74 |
| - |
75 |
| - # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
76 |
| - # |
77 |
| - # Specify the location from where the source should be retrieved. |
78 |
| - # Supports git, hg, bzr, svn and HTTP. |
79 |
| - # |
80 |
| - |
81 |
| - s.source = { :git => "http://EXAMPLE/GCD.git", :tag => "0.1" } |
82 |
| - |
83 |
| - |
84 |
| - # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
85 |
| - # |
86 |
| - # CocoaPods is smart about how it includes source code. For source files |
87 |
| - # giving a folder will include any h, m, mm, c & cpp files. For header |
88 |
| - # files it will include any header in the folder. |
89 |
| - # Not including the public_header_files will make all headers public. |
90 |
| - # |
91 |
| - |
| 11 | + s.source = { :git => "https://github.com/nghialv/GCD.git", :tag => "0.1" } |
92 | 12 | s.source_files = "GCD.swift"
|
93 |
| - #s.exclude_files = "Classes/Exclude" |
94 |
| - |
95 |
| - # s.public_header_files = "Classes/**/*.h" |
96 |
| - |
97 |
| - |
98 |
| - # ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
99 |
| - # |
100 |
| - # A list of resources included with the Pod. These are copied into the |
101 |
| - # target bundle with a build phase script. Anything else will be cleaned. |
102 |
| - # You can preserve files from being cleaned, please don't preserve |
103 |
| - # non-essential files like tests, examples and documentation. |
104 |
| - # |
105 |
| - |
106 |
| - # s.resource = "icon.png" |
107 |
| - # s.resources = "Resources/*.png" |
108 |
| - |
109 |
| - # s.preserve_paths = "FilesToSave", "MoreFilesToSave" |
110 |
| - |
111 |
| - |
112 |
| - # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
113 |
| - # |
114 |
| - # Link your library with frameworks, or libraries. Libraries do not include |
115 |
| - # the lib prefix of their name. |
116 |
| - # |
117 |
| - |
118 |
| - # s.framework = "SomeFramework" |
119 |
| - # s.frameworks = "SomeFramework", "AnotherFramework" |
120 |
| - |
121 |
| - # s.library = "iconv" |
122 |
| - # s.libraries = "iconv", "xml2" |
123 |
| - |
124 |
| - |
125 |
| - # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # |
126 |
| - # |
127 |
| - # If your library depends on compiler flags you can set them in the xcconfig hash |
128 |
| - # where they will only apply to your library. If you depend on other Podspecs |
129 |
| - # you can include multiple dependencies to ensure it works. |
130 |
| - |
131 | 13 | s.requires_arc = true
|
132 |
| - |
133 |
| - # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" } |
134 |
| - # s.dependency "JSONKit", "~> 1.4" |
135 |
| - |
136 | 14 | end
|
0 commit comments