Skip to content

Commit

Permalink
Support CocoaPods
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Jun 19, 2018
1 parent 522636a commit 4185014
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
16 changes: 16 additions & 0 deletions Defaults.podspec
Original file line number Diff line number Diff line change
@@ -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' => '[email protected]' }
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 changes: 8 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]" width="160">
</a>
Expand Down

0 comments on commit 4185014

Please sign in to comment.