parent
522636a79c
commit
4185014534
|
@ -0,0 +1,16 @@
|
|||
Pod::Spec.new do |s|
|
||||
s.name = 'Defaults'
|
||||
s.version = '0.2.1'
|
||||
s.license = { :type => 'MIT', :file => 'license' }
|
||||
s.homepage = 'https://github.com/sindresorhus/Defaults'
|
||||
s.social_media_url = 'https://twitter.com/sindresorhus'
|
||||
s.authors = { 'Sindre Sorhus' => 'sindresorhus@gmail.com' }
|
||||
s.summary = 'Swifty and modern UserDefaults'
|
||||
s.source = { :git => 'https://github.com/sindresorhus/Defaults.git', :tag => "v#{s.version}" }
|
||||
s.source_files = 'Sources/*.swift'
|
||||
s.swift_version = '4.1'
|
||||
s.osx.deployment_target = '10.12'
|
||||
s.ios.deployment_target = '10.0'
|
||||
s.tvos.deployment_target = '10.0'
|
||||
s.watchos.deployment_target = '3.0'
|
||||
end
|
10
readme.md
10
readme.md
|
@ -21,18 +21,24 @@
|
|||
|
||||
## Install
|
||||
|
||||
With [SPM](https://swift.org/package-manager/):
|
||||
#### SPM
|
||||
|
||||
```swift
|
||||
.package(url: "https://github.com/sindresorhus/Defaults", from: "0.2.0")
|
||||
```
|
||||
|
||||
With [Carthage](https://github.com/Carthage/Carthage):
|
||||
#### Carthage
|
||||
|
||||
```
|
||||
github "sindresorhus/Defaults"
|
||||
```
|
||||
|
||||
#### CocoaPods
|
||||
|
||||
```
|
||||
pod 'Defaults'
|
||||
```
|
||||
|
||||
<a href="https://www.patreon.com/sindresorhus">
|
||||
<img src="https://c5.patreon.com/external/logo/become_a_patron_button@2x.png" width="160">
|
||||
</a>
|
||||
|
|
Loading…
Reference in New Issue