Skip to content

Commit bf2beb7

Browse files
committed
see if this fixes spm
1 parent ce8f152 commit bf2beb7

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ script:
1414
- xcodebuild -project Socket.IO-Client-Swift.xcodeproj -scheme SocketIO-Mac build test -quiet
1515
# - xcodebuild -project Socket.IO-Client-Swift.xcodeproj -scheme SocketIO-Mac build-for-testing -quiet
1616
# - xctool -project Socket.IO-Client-Swift.xcodeproj -scheme SocketIO-Mac run-tests --parallelize
17-
# - swift build
17+
- swift build

Package.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,13 @@ import PackageDescription
44

55
let package = Package(
66
name: "SocketIO",
7+
products: [
8+
.library(name: "SocketIO", targets: ["SocketIO"])
9+
],
710
dependencies: [
811
.package(url: "https://github.com/nuclearace/Starscream", from: "8.0.0"),
912
],
1013
targets: [
11-
.target(name: "SocketIO", exclude: ["Sources/Starscream"])
14+
.target(name: "SocketIO", dependencies: ["StarscreamSocketIO"], exclude: ["Sources/Starscream"])
1215
]
1316
)

Source/Starscream

0 commit comments

Comments
 (0)