Skip to content

Commit

Permalink
Add Package.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
akkyie committed Sep 30, 2019
1 parent 1c32e51 commit 3ffe279
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ playground.xcworkspace
# Package.pins
# Package.resolved
.build/
.swiftpm/

# CocoaPods
#
Expand Down
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": "b3e888b4972d9bc76495dd74d30a8c7fad4b9395",
"version": "5.0.1"
}
}
]
},
"version": 1
}
24 changes: 24 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// swift-tools-version:5.1

import PackageDescription

let package = Package(
name: "Unio",
platforms: [.iOS(.v9)],
products: [
.library(name: "Unio",
targets: ["Unio"]),
],
dependencies: [
.package(url: "https://github.com/ReactiveX/RxSwift.git", from: "5.0.0")
],
targets: [
.target(name: "Unio",
dependencies: ["RxSwift", "RxRelay"],
path: "Unio"),
.testTarget(name: "UnioTests",
dependencies: ["Unio", "RxCocoa"],
path: "UnioTests"),
],
swiftLanguageVersions: [.v5]
)

0 comments on commit 3ffe279

Please sign in to comment.