Skip to content

Commit cff4914

Browse files
committed
Add swcomp target to SPM manifest
1 parent b70d1b9 commit cff4914

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

Package.resolved

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"object": {
3+
"pins": [
4+
{
5+
"package": "SwiftCLI",
6+
"repositoryURL": "https://github.com/jakeheis/SwiftCLI",
7+
"state": {
8+
"branch": null,
9+
"revision": "36bb5dd52deed7264b6f41c1a2190d376cb9f17c",
10+
"version": "3.0.3"
11+
}
12+
}
13+
]
14+
},
15+
"version": 1
16+
}

Package.swift

+9-1
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,19 @@ let package = Package(
88
name: "SWCompression",
99
targets: ["SWCompression"]),
1010
],
11+
dependencies: [
12+
.package(url: "https://github.com/jakeheis/SwiftCLI", .upToNextMinor(from: "3.0.0"))
13+
],
1114
targets: [
1215
.target(
1316
name: "SWCompression",
1417
path: "Sources",
15-
sources: ["Common", "7-Zip", "BZip2", "Deflate", "GZip", "LZMA", "TAR", "XZ", "ZIP", "Zlib"])
18+
sources: ["Common", "7-Zip", "BZip2", "Deflate", "GZip", "LZMA", "TAR", "XZ", "ZIP", "Zlib"]),
19+
.target(
20+
name: "swcomp",
21+
dependencies: ["SWCompression", "SwiftCLI"],
22+
path: "Sources",
23+
sources: ["swcomp"])
1624
],
1725
swiftLanguageVersions: [4]
1826
)

0 commit comments

Comments
 (0)