Skip to content

Commit d2794c7

Browse files
authored
Merge pull request #14 from ashfurrow/master
Adds podspec
2 parents fcb2761 + 8996b7d commit d2794c7

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,10 @@ matrix:
5656
- carthage build --no-skip-current --platform watchOS
5757
env:
5858
- JOB=CARTHAGE-watchOS
59+
- script:
60+
- gem install cocoapods --pre
61+
- pod repo update
62+
- pod lib lint ReactiveSwift.podspec --allow-warnings
5963
- os: osx
6064
language: generic
6165
script: swift build

ReactiveSwift.podspec

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Pod::Spec.new do |s|
2+
s.name = "ReactiveSwift"
3+
# Version goes here and will be used to access the git tag later on, once we have a first release.
4+
s.version = "0.0.1"
5+
s.summary = "Streams of values over time"
6+
s.description = <<-DESC
7+
ReactiveSwift is a Swift framework inspired by Functional Reactive Programming. It provides APIs for composing and transforming streams of values over time.
8+
DESC
9+
s.homepage = "https://github.com/ReactiveCocoa/ReactiveSwift"
10+
s.license = { :type => "MIT", :file => "LICENSE.md" }
11+
s.author = "ReactiveCocoa"
12+
13+
s.ios.deployment_target = "8.0"
14+
s.osx.deployment_target = "10.10"
15+
s.watchos.deployment_target = "2.0"
16+
s.tvos.deployment_target = "9.0"
17+
# Right now this points to a commit, but eventually it will be a git tag instead. That tag will be something like `:tag => "v#{s.version}"`, generating v0.0.1 for example.
18+
s.source = { :git => "https://github.com/ReactiveCocoa/ReactiveSwift.git", :commit => "2cdbc4159dede57a47df0e2eeccd8c0ba8436470" }
19+
# Directory glob for all Swift files
20+
s.source_files = "Sources/*.{swift}"
21+
s.dependency 'Result', '~> 3.0'
22+
end

0 commit comments

Comments
 (0)