Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cocoapods support #5

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
5.0
15 changes: 15 additions & 0 deletions Identity.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Pod::Spec.new do |spec|
spec.name = "Identity"
spec.version = "0.3.0"
spec.summary = "Type-safe identifiers in Swift."
spec.description = "A small library that makes it easy to create type-safe identifiers in Swift"
spec.homepage = "https://github.com/JohnSundell/Identity"
spec.license = { :type => "MIT", :file => "LICENSE" }
spec.author = { "John Sundell" => "[email protected]" }
spec.source = { :git => "https://github.com/JohnSundell/Identity.git", :tag => "#{spec.version}" }
spec.source_files = "Sources/Identity/*.swift"
spec.ios.deployment_target = "9.0"
spec.osx.deployment_target = "10.9"
spec.watchos.deployment_target = "3.0"
spec.tvos.deployment_target = "9.0"
end
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ But if you wish to use a dependency manager, you can use the [Swift Package Mana

*For more information, see [the Swift Package Manager documentation](https://github.com/apple/swift-package-manager/tree/master/Documentation).*

You can also use [CocoaPods](https://cocoapods.org) by adding the following line to your `Podfile`:

```ruby
pod "Identity"
```
## Contributions & support

Identity is developed completely in the open, and your contributions are more than welcome.
Expand Down