Adds initial version of Swift package manager.

This commit is contained in:
Krunoslav Zaher 2015-12-26 02:28:27 +01:00
parent f26167e10a
commit 4651df2317
265 changed files with 340 additions and 29 deletions

View File

@ -1,12 +1,12 @@
import PackageDescription
#if os(OSX)
let package = Package(
name: "RxSwift",
targets: [
Target(
name: "RxSwift"
),
Target(
name: "RxCocoa",
dependencies: [
@ -30,39 +30,15 @@ let package = Package(
dependencies: [
.Target(name: "RxSwift"),
.Target(name: "RxBlocking"),
.Target(name: "RxCocoa"),
.Target(name: "RxTests")
]
)
]
)
#if os(OSX)
package.exclude = ["Sources/RxCocoa", "Sources/RxTests", "Sources/AllTests"]
#elseif os(Linux)
let package = Package(
name: "RxSwift",
targets: [
Target(
name: "RxSwift"
),
Target(
name: "RxTests",
dependencies: [
.Target(name: "RxSwift")
]
),
Target(
name: "RxBlocking",
dependencies: [
.Target(name: "RxSwift")
]
),
Target(
name: "AllTests",
dependencies: [
.Target(name: "RxSwift"),
.Target(name: "RxBlocking"),
.Target(name: "RxTests")
]
)
]
)
package.exclude = ["Sources/RxCocoa"]
#else
#endif

View File

@ -72,6 +72,9 @@
<FileRef
location = "group:validate-podspec.sh">
</FileRef>
<FileRef
location = "group:package-swift-manager.swift">
</FileRef>
</Group>
<Group
location = "group:Documentation"

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/AnonymousObservable+Test.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/AssumptionsTest.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/TestImplementations/Mocks/BackgroundThreadPrimitiveHotObservable.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/BagTest.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/BehaviorSubjectTest.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/CLLocationManager+RxTests.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/Control+RxTests+Cocoa.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/Control+RxTests+UIKit.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/Control+RxTests.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/ControlEventTests.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/ControlPropertyTests.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/DelegateProxyTest+Cocoa.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/DelegateProxyTest+UIKit.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/DelegateProxyTest.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/DisposableTest.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/Driver+Extensions.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/Driver+Test.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/TestImplementations/ElementIndexPair.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/TestImplementations/EquatableArray.swift

View File

@ -0,0 +1 @@
../../Tests/Tests/Foundation+Extensions.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/KVOObservableTests.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/TestImplementations/Mocks/MainThreadPrimitiveHotObservable.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/TestImplementations/Mocks/MockDisposable.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/TestImplementations/Mocks/MySubject.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/NSLayoutConstraint+RxTests.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/NSNotificationCenterTests.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/NSObject+RxTests.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/NSView+RxTests.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/Observable+AggregateTest.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/Observable+BindingTest.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/Observable+BlockingTest.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/Observable+ConcurrencyTest.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/Observable+CreationTest.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/TestImplementations/Observable+Extensions.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/Observable+MultipleTest+CombineLatest.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/Observable+MultipleTest+Zip.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/Observable+MultipleTest.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/Observable+SingleTest.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/Observable+StandardSequenceOperatorsTest.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/Observable+SubscriptionTest.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/Observable+TimeTest.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/TestImplementations/Mocks/Observable.Extensions.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/ObserverTests.swift

View File

@ -0,0 +1 @@
../../Tests/PerformanceTests/PerformanceTools.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/TestImplementations/Mocks/PrimitiveHotObservable.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/TestImplementations/Mocks/PrimitiveMockObserver.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/QueueTests.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/RXObjCRuntime+Testing.h

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/RXObjCRuntime+Testing.m

View File

@ -0,0 +1 @@
../../Tests/Tests/Recorded+Timeless.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/RuntimeStateSnapshot.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/RxObjCRuntimeState.swift

View File

@ -0,0 +1 @@
../../Tests/RxTest.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/RxTests-OSX-Bridging-Header.h

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/RxTests-iOS-Bridging-Header.h

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/RxTests-tvOS-Bridging-Header.h

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/SentMessageTest.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/SubjectConcurrencyTest.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/TestImplementations/Mocks/TestConnectableObservable.swift

View File

@ -0,0 +1 @@
../../Tests/Tests/TestErrors.swift

View File

@ -0,0 +1 @@
../../Tests/RxCocoaTests/UIView+RxTests.swift

View File

@ -0,0 +1 @@
../../Tests/RxSwiftTests/Tests/VariableTest.swift

View File

@ -0,0 +1 @@
../../Tests/Tests/XCTest+Rx.swift

1
Sources/AllTests/main.swift Symbolic link
View File

@ -0,0 +1 @@
../../Tests/PerformanceTests/main.swift

View File

@ -0,0 +1 @@
../../RxBlocking/BlockingObservable+Operators.swift

View File

@ -0,0 +1 @@
../../RxBlocking/BlockingObservable.swift

View File

@ -0,0 +1 @@
../../RxBlocking/ObservableConvertibleType+Blocking.swift

View File

@ -0,0 +1 @@
../../RxBlocking/RunLoopLock.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/CLLocationManager+Rx.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/CocoaUnits/Driver/ControlEvent+Driver.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/CocoaUnits/ControlEvent.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/CocoaUnits/Driver/ControlProperty+Driver.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/CocoaUnits/ControlProperty.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/Observables/Implementations/ControlTarget.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/Observables/Implementations/DeallocObservable.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/DelegateProxy.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/DelegateProxyType.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/CocoaUnits/Driver/Driver+Operators+arity.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/CocoaUnits/Driver/Driver+Operators.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/CocoaUnits/Driver/Driver+Subscription.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/CocoaUnits/Driver/Driver.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/Observables/Implementations/KVOObservable.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/Observables/Implementations/KVOObserver.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/KVORepresentable+CoreGraphics.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/KVORepresentable+Swift.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/KVORepresentable.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/Logging.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/Observables/Implementations/MessageSentObserver.swift

View File

@ -0,0 +1 @@
../../RxCocoa/OSX/NSButton+Rx.swift

View File

@ -0,0 +1 @@
../../RxCocoa/OSX/NSControl+Rx.swift

View File

@ -0,0 +1 @@
../../RxCocoa/OSX/NSImageView+Rx.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/NSLayoutConstraint+Rx.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/Observables/NSNotificationCenter+Rx.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/Observables/NSObject+Rx+CoreGraphics.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/Observables/NSObject+Rx+KVORepresentable.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/Observables/NSObject+Rx+RawRepresentable.swift

View File

@ -0,0 +1 @@
../../RxCocoa/Common/Observables/NSObject+Rx.swift

View File

@ -0,0 +1 @@
../../RxCocoa/OSX/NSSlider+Rx.swift

Some files were not shown because too many files have changed in this diff Show More