Skip to content

Commit 4de55cb

Browse files
committed
Updates fro SPM
1 parent d8ccc46 commit 4de55cb

19 files changed

+143
-85
lines changed

Package.resolved

Lines changed: 34 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1+
// swift-tools-version:5.1
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
13
import PackageDescription
24

35
let package = Package(
46
name: "ws",
7+
platforms: [.iOS(.v8)],
8+
products: [.library(name: "ws", targets: ["ws"])],
59
dependencies: [
6-
.Package(url: "https://github.com/freshOS/Arrow",
7-
.Package(url: "https://github.com/freshOS/then",
8-
.Package(url: "https://github.com/Alamofire/Alamofire"
10+
.package(url: "https://github.com/freshOS/Arrow", .exact("5.1.2")),
11+
.package(url: "https://github.com/freshOS/Then", .exact("5.1.3")),
12+
.package(url: "https://github.com/Alamofire/Alamofire", .exact("4.9.1"))
13+
],
14+
targets: [
15+
.target(name: "ws", dependencies:["Arrow", "Then", "Alamofire"]),
16+
.testTarget(name: "wsTests", dependencies: ["ws"])
917
]
1018
)
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.

ws/WSNetworkIndicator.swift renamed to Sources/ws/WSNetworkIndicator.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//
88

99
import Foundation
10+
import UIKit
1011

1112
/**
1213
Abstracts network activity indicator management.
File renamed without changes.

ws/ws.h renamed to Sources/ws/ws.h

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

ws.xcodeproj/project.pbxproj

Lines changed: 97 additions & 82 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)