Skip to content

Commit d8bdfd5

Browse files
authored
Merge pull request #111 from tuist/master
Add CocoaPods support
2 parents e243312 + df5a3d9 commit d8bdfd5

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ matrix:
2020
git:
2121
submodules: false
2222
env: JOB=SWIFTPM_DARWIN
23+
- os: osx
24+
osx_image: xcode9.4
25+
script:
26+
- pod repo update
27+
- pod lib lint
2328
notifications:
2429
email: false
2530
slack:

ReactiveTask.podspec

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
Pod::Spec.new do |s|
2+
s.name = "ReactiveTask"
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.15.0"
5+
s.summary = "Swift framework for launching shell tasks"
6+
s.description = <<-DESC
7+
ReactiveTask is a Swift framework for launching shell tasks (processes), built using ReactiveSwift.
8+
DESC
9+
s.homepage = "https://github.com/Carthage/ReactiveTask"
10+
s.license = { :type => "MIT", :file => "LICENSE.md" }
11+
s.author = "Carthage"
12+
13+
s.platform = :osx
14+
s.osx.deployment_target = "10.9"
15+
16+
s.source = { :git => "https://github.com/Carthage/ReactiveTask.git", :tag => "#{s.version}" }
17+
# Directory glob for all Swift files
18+
s.source_files = "Sources/*.{swift}"
19+
s.dependency 'Result', '~> 4.0'
20+
s.dependency 'ReactiveSwift', '~> 4.0'
21+
22+
s.pod_target_xcconfig = {"OTHER_SWIFT_FLAGS[config=Release]" => "$(inherited) -suppress-warnings" }
23+
24+
s.cocoapods_version = ">= 1.4.0"
25+
s.swift_version = "4.1.2"
26+
end

0 commit comments

Comments
 (0)