Skip to content

Commit 23aa9dc

Browse files
committed
[Refactor] Package.swift: Code cleanup, added explicit iOS target, and removed test files
1 parent f3cdd55 commit 23aa9dc

File tree

2 files changed

+2
-21
lines changed

2 files changed

+2
-21
lines changed

Package.swift

+2-11
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,19 @@
11
// swift-tools-version: 5.8
2-
// The swift-tools-version declares the minimum version of Swift required to build this package.
32

43
import PackageDescription
54

65
let package = Package(
76
name: "PixieCacheKit",
7+
platforms: [.iOS(.v15)],
88
products: [
9-
// Products define the executables and libraries a package produces, and make them visible to other packages.
109
.library(
1110
name: "PixieCacheKit",
1211
targets: ["PixieCacheKit"]),
1312
],
14-
dependencies: [
15-
// Dependencies declare other packages that this package depends on.
16-
// .package(url: /* package url */, from: "1.0.0"),
17-
],
13+
dependencies: [],
1814
targets: [
19-
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
20-
// Targets can depend on other targets in this package, and on products in packages this package depends on.
2115
.target(
2216
name: "PixieCacheKit",
2317
dependencies: []),
24-
.testTarget(
25-
name: "PixieCacheKitTests",
26-
dependencies: ["PixieCacheKit"]),
2718
]
2819
)

Tests/PixieCacheKitTests/PixieCacheKitTests.swift

-10
This file was deleted.

0 commit comments

Comments
 (0)