This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Swift Package Manager with PackageDescriptionV4
- Loading branch information
Showing
11 changed files
with
79 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
4.0 | ||
4.2.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
github "Quick/Quick" ~> 1.0 | ||
github "Quick/Nimble" ~> 7.0 | ||
github "Quick/Quick" | ||
github "Quick/Nimble" | ||
github "mrackwitz/xcconfigs" | ||
github "shu223/Pulsator" ~> 0.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
github "Quick/Nimble" "v7.0.2" | ||
github "Quick/Quick" "v1.2.0" | ||
github "ReactiveX/RxSwift" "4.0.0" | ||
github "Quick/Nimble" "v7.3.4" | ||
github "Quick/Quick" "v1.3.4" | ||
github "ReactiveX/RxSwift" "4.4.1" | ||
github "mrackwitz/xcconfigs" "3.0" | ||
github "shu223/Pulsator" "0.4.0" | ||
github "shu223/Pulsator" "0.4.2" |
Submodule Pulsator
updated
6 files
+1 −1 | .swift-version | |
+2 −2 | Example/PulsatorDemo/Base.lproj/LaunchScreen.storyboard | |
+43 −23 | Example/PulsatorDemo/Base.lproj/Main.storyboard | |
+2 −2 | Pulsator.podspec | |
+11 −11 | Pulsator/Pulsator.swift | |
+1 −1 | README.md |
Submodule Quick
updated
56 files
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"object": { | ||
"pins": [ | ||
{ | ||
"package": "Nimble", | ||
"repositoryURL": "https://github.com/Quick/Nimble", | ||
"state": { | ||
"branch": null, | ||
"revision": "e9d769113660769a4d9dd3afb855562c0b7ae7b0", | ||
"version": "7.3.4" | ||
} | ||
}, | ||
{ | ||
"package": "Quick", | ||
"repositoryURL": "https://github.com/Quick/Quick", | ||
"state": { | ||
"branch": null, | ||
"revision": "f2b5a06440ea87eba1a167cab37bf6496646c52e", | ||
"version": "1.3.4" | ||
} | ||
}, | ||
{ | ||
"package": "RxSwift", | ||
"repositoryURL": "https://github.com/ReactiveX/RxSwift.git", | ||
"state": { | ||
"branch": null, | ||
"revision": "a2348cef2a28fca5a1a5fa26b3ce62e6831c0a49", | ||
"version": "4.4.1" | ||
} | ||
} | ||
] | ||
}, | ||
"version": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,27 @@ | ||
// swift-tools-version:4.2 | ||
|
||
import Foundation | ||
import PackageDescription | ||
|
||
let isSwiftPackageManagerTest = ProcessInfo.processInfo.environment["SWIFTPM_TEST"] == "YES" | ||
|
||
let package = Package( | ||
name: "RxAutomaton", | ||
dependencies: { | ||
var deps: [Package.Dependency] = [ | ||
.Package(url: "https://github.com/ReactiveX/RxSwift.git", majorVersion: 4) | ||
] | ||
if isSwiftPackageManagerTest { | ||
deps += [ | ||
.Package(url: "https://github.com/Quick/Quick", majorVersion: 1), | ||
.Package(url: "https://github.com/Quick/Nimble", majorVersion: 7) | ||
] | ||
} | ||
return deps | ||
}() | ||
products: [ | ||
.library( | ||
name: "RxAutomaton", | ||
targets: ["RxAutomaton"]), | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/ReactiveX/RxSwift.git", from: "4.0.0"), | ||
.package(url: "https://github.com/Quick/Quick", from: "1.0.0"), | ||
.package(url: "https://github.com/Quick/Nimble", from: "7.0.0") | ||
], | ||
targets: [ | ||
.target( | ||
name: "RxAutomaton", | ||
dependencies: ["RxSwift", "RxCocoa"], | ||
path: "Sources"), | ||
.testTarget( | ||
name: "RxAutomatonTests", | ||
dependencies: ["RxAutomaton", "Quick", "Nimble"]), | ||
] | ||
) |
8 changes: 8 additions & 0 deletions
8
RxAutomaton.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
<plist version="1.0"> | ||
<dict> | ||
<key>IDEDidComputeMac32BitWarning</key> | ||
<true/> | ||
</dict> | ||
</plist> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters