Skip to content

Commit

Permalink
Pub to cocoapods (#51)
Browse files Browse the repository at this point in the history
* build with cocoapods

* use exact version for opencombine

* upgrade podspec to 0.1.1
  • Loading branch information
luoxiu committed Nov 15, 2019
1 parent ed68f8f commit 273b580
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CombineX.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "CombineX"
s.version = "0.1.0"
s.version = "0.1.1"
s.summary = "Open source implementation for Apple's Combine."
s.homepage = "https://github.com/cx-org/CombineX"
s.license = { :type => "MIT", :file => "LICENSE" }
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ enum CombineImplementation {

var extraPackageDependencies: [Package.Dependency] {
switch self {
case .openCombine: return [.package(url: "https://github.com/broadwaylamb/OpenCombine", .branch("master"))]
case .openCombine: return [.package(url: "https://github.com/broadwaylamb/OpenCombine", .exact("0.5.0"))]
default: return []
}
}
Expand Down
2 changes: 2 additions & 0 deletions Sources/CombineX/@_exported.swift
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#if !COCOAPODS
@_exported import enum CXNamespace.CXWrappers
#endif

0 comments on commit 273b580

Please sign in to comment.