Skip to content

Commit

Permalink
reloate to add SPM support
Browse files Browse the repository at this point in the history
  • Loading branch information
wddwycc committed Feb 14, 2021
1 parent e41c3cb commit 9a7f4ce
Show file tree
Hide file tree
Showing 33 changed files with 526 additions and 478 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,5 @@ venv.bak/

# End of https://www.gitignore.io/api/python

.build/

4 changes: 2 additions & 2 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ SPEC CHECKSUMS:
RxCocoa: 3f79328fafa3645b34600f37c31e64c73ae3a80e
RxRelay: 8d593be109c06ea850df027351beba614b012ffb
RxSwift: c14e798c59b9f6e9a2df8fd235602e85cc044295
RxTheme: 1ea2e2306a84f718789df4e2ee3db34560a66e1a
RxTheme: 9c231ae35ab5a49ee9b80dddeb596ec263f9d062

PODFILE CHECKSUM: 3549b3ef30393f1fa7f52c030ff2aa0e1452a120

COCOAPODS: 1.10.0
COCOAPODS: 1.10.1
6 changes: 4 additions & 2 deletions Example/Pods/Local Podspecs/RxTheme.podspec.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Example/Pods/Manifest.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

942 changes: 471 additions & 471 deletions Example/Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"object": {
"pins": [
{
"package": "RxSwift",
"repositoryURL": "https://github.com/ReactiveX/RxSwift.git",
"state": {
"branch": null,
"revision": "7e01c05f25c025143073eaa3be3532f9375c614b",
"version": "6.1.0"
}
}
]
},
"version": 1
}
28 changes: 28 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "RxTheme",
platforms: [
.macOS(.v10_10), .iOS(.v9), .tvOS(.v9), .watchOS(.v3)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "RxTheme",
targets: ["RxTheme"]),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(url: "https://github.com/ReactiveX/RxSwift.git", .upToNextMajor(from: "6.0.0" )),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "RxTheme",
dependencies: ["RxSwift", .product(name: "RxCocoa", package: "RxSwift")]),
]
)
2 changes: 1 addition & 1 deletion RxTheme.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Theme management based on RxSwift and RxCocoa, easy to use, easy to extend.
s.swift_version = '5.1'
s.requires_arc = true

s.source_files = 'RxTheme/Classes/**/*'
s.source_files = 'Sources/**/*'

s.dependency 'RxSwift', '~> 6.0'
s.dependency 'RxCocoa', '~> 6.0'
Expand Down
Empty file removed RxTheme/Assets/.gitkeep
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 9a7f4ce

Please sign in to comment.