Skip to content

Commit 50af568

Browse files
committed
proj: podspec
1 parent 5677ba5 commit 50af568

2 files changed

Lines changed: 51 additions & 0 deletions

File tree

‎ExCodable.podspec‎

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
Pod::Spec.new do |s|
2+
3+
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
4+
s.name = "ExCodable"
5+
s.version = "0.1.0"
6+
s.summary = "Extensions for Swift Codable"
7+
# s.description = "Extensions for Swift."
8+
s.homepage = "https://github.com/iwill/ExCodable"
9+
10+
# ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
11+
s.license = "MIT"
12+
s.author = { "Mr. Ming" => "i+ExCodable@iwill.im" }
13+
s.social_media_url = "https://iwill.im/about/"
14+
15+
# ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
16+
s.ios.deployment_target = "10.0"
17+
s.osx.deployment_target = "11.0"
18+
# s.tvos.deployment_target = "10.0"
19+
# s.watchos.deployment_target = "2.0"
20+
s.swift_version = "5.0"
21+
22+
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
23+
s.source = { :git => "https://github.com/iwill/ExCodable.git", :tag => s.version.to_s }
24+
25+
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
26+
s.source_files = "Sources", "Sources/**/*.{swift}"
27+
# s.exclude_files = "Sources/Exclude"
28+
# s.public_header_files = "Sources/**/*.h"
29+
30+
# ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
31+
# s.resource = "icon.png"
32+
# s.resources = "Resources/*.png"
33+
# s.preserve_paths = "FilesToSave", "MoreFilesToSave"
34+
35+
# ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
36+
s.framework = "Foundation"
37+
# s.frameworks = "Foundation", "UIKit", "WebKit", "CoreGraphics"
38+
# s.library = "iconv"
39+
# s.libraries = "iconv", "xml2"
40+
41+
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
42+
# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
43+
# s.dependency "JSONKit", "~> 1.4"
44+
45+
end

‎README.md‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,12 @@ extension KeyedDecodingContainer: KeyedDecodingContainerCustomTypeConversion {
263263
.package(url: "https://github.com/iwill/ExCodable", from: "0.0")
264264
```
265265

266+
[CocoaPods](http://cocoapods.org):
267+
268+
```ruby
269+
pod 'ExCodable', '~> 0.0'
270+
```
271+
266272
## Credits
267273

268274
Mr. Ming ([@minglq](https://twitter.com/minglq/))

0 commit comments

Comments
 (0)