Skip to content

Commit

Permalink
Add podspec (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
1024jp committed Nov 25, 2016
1 parent 9a45ba4 commit 315768c
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 0 deletions.
1 change: 1 addition & 0 deletions .swift-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0.1
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
Change Log
==========================

3.1.2
--------------------------

### New

- Support CocoaPods.

3.1.1
--------------------------

Expand Down
25 changes: 25 additions & 0 deletions GzipSwift.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Pod::Spec.new do |s|
s.name = "GzipSwift"
s.version = "3.1.2"
s.summary = "Swift framework that enables gzip/gunzip Data using zlib."

s.homepage = "https://github.com/1024jp/GzipSwift"
s.license = { :type => "MIT",
:file => "LICENSE" }
s.author = { "1024jp" => "1024jp@wolfrosch.com" }

s.source = { :git => "https://github.com/1024jp/GzipSwift.git",
:tag => s.version }
s.source_files = 'Sources/*.swift'

s.module_name = 'Gzip'
s.osx.deployment_target = '10.9'
s.ios.deployment_target = '8.0'
s.watchos.deployment_target = '2.0'
s.tvos.deployment_target = '9.0'

s.requires_arc = true
s.library = 'z'
s.preserve_path = 'zlib/*'
s.pod_target_xcconfig = { 'SWIFT_INCLUDE_PATHS' => '$(PODS_ROOT)/GzipSwift/zlib' }
end
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,15 @@ GzipSwift is Carthage compatible. You can easily build GzipSwift adding the foll
```ruby
github "1024jp/GzipSwift"
```

### Build via CocoaPods
GzipSwift is available through [CocoaPods](http://cocoapods.org). To install
it, simply add the following line to your Podfile:

```ruby
pod "GzipSwift"
```

### For Linux platform with swift package manager

1. First you need to install zlib if you haven't installed yet:
Expand Down

0 comments on commit 315768c

Please sign in to comment.