Skip to content

Commit def8204

Browse files
author
Pedro Piñera
committed
Add CocoaPods support
1 parent e243312 commit def8204

File tree

5 files changed

+117
-0
lines changed

5 files changed

+117
-0
lines changed

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2.5.3

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,14 @@ matrix:
1313
env: JOB=Xcode9.4
1414
- os: osx
1515
osx_image: xcode9.4
16+
before_script:
17+
- bundle install
1618
script:
1719
- swift --version
1820
- swift build
1921
- swift test
22+
- bundle exec pod repo update
23+
- bundle exec pod spec lint --quick
2024
git:
2125
submodules: false
2226
env: JOB=SWIFTPM_DARWIN

Gemfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# frozen_string_literal: true
2+
3+
source 'https://rubygems.org'
4+
5+
gem 'cocoapods', '~> 1.5'
6+
gem 'xcpretty', '~> 0.3.0'

Gemfile.lock

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
CFPropertyList (3.0.0)
5+
activesupport (4.2.11)
6+
i18n (~> 0.7)
7+
minitest (~> 5.1)
8+
thread_safe (~> 0.3, >= 0.3.4)
9+
tzinfo (~> 1.1)
10+
atomos (0.1.3)
11+
claide (1.0.2)
12+
cocoapods (1.5.3)
13+
activesupport (>= 4.0.2, < 5)
14+
claide (>= 1.0.2, < 2.0)
15+
cocoapods-core (= 1.5.3)
16+
cocoapods-deintegrate (>= 1.0.2, < 2.0)
17+
cocoapods-downloader (>= 1.2.0, < 2.0)
18+
cocoapods-plugins (>= 1.0.0, < 2.0)
19+
cocoapods-search (>= 1.0.0, < 2.0)
20+
cocoapods-stats (>= 1.0.0, < 2.0)
21+
cocoapods-trunk (>= 1.3.0, < 2.0)
22+
cocoapods-try (>= 1.1.0, < 2.0)
23+
colored2 (~> 3.1)
24+
escape (~> 0.0.4)
25+
fourflusher (~> 2.0.1)
26+
gh_inspector (~> 1.0)
27+
molinillo (~> 0.6.5)
28+
nap (~> 1.0)
29+
ruby-macho (~> 1.1)
30+
xcodeproj (>= 1.5.7, < 2.0)
31+
cocoapods-core (1.5.3)
32+
activesupport (>= 4.0.2, < 6)
33+
fuzzy_match (~> 2.0.4)
34+
nap (~> 1.0)
35+
cocoapods-deintegrate (1.0.2)
36+
cocoapods-downloader (1.2.2)
37+
cocoapods-plugins (1.0.0)
38+
nap
39+
cocoapods-search (1.0.0)
40+
cocoapods-stats (1.0.0)
41+
cocoapods-trunk (1.3.1)
42+
nap (>= 0.8, < 2.0)
43+
netrc (~> 0.11)
44+
cocoapods-try (1.1.0)
45+
colored2 (3.1.2)
46+
concurrent-ruby (1.1.4)
47+
escape (0.0.4)
48+
fourflusher (2.0.1)
49+
fuzzy_match (2.0.4)
50+
gh_inspector (1.1.3)
51+
i18n (0.9.5)
52+
concurrent-ruby (~> 1.0)
53+
minitest (5.11.3)
54+
molinillo (0.6.6)
55+
nanaimo (0.2.6)
56+
nap (1.1.0)
57+
netrc (0.11.0)
58+
rouge (2.0.7)
59+
ruby-macho (1.3.1)
60+
thread_safe (0.3.6)
61+
tzinfo (1.2.5)
62+
thread_safe (~> 0.1)
63+
xcodeproj (1.7.0)
64+
CFPropertyList (>= 2.3.3, < 4.0)
65+
atomos (~> 0.1.3)
66+
claide (>= 1.0.2, < 2.0)
67+
colored2 (~> 3.1)
68+
nanaimo (~> 0.2.6)
69+
xcpretty (0.3.0)
70+
rouge (~> 2.0.7)
71+
72+
PLATFORMS
73+
ruby
74+
75+
DEPENDENCIES
76+
cocoapods (~> 1.5)
77+
xcpretty (~> 0.3.0)
78+
79+
BUNDLED WITH
80+
1.17.1

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.16.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)