diff --git a/Defaults.podspec b/Defaults.podspec new file mode 100644 index 0000000..9fb9fb9 --- /dev/null +++ b/Defaults.podspec @@ -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 diff --git a/readme.md b/readme.md index c45019a..6846d44 100644 --- a/readme.md +++ b/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' +``` +