-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathPackage.swift
More file actions
82 lines (74 loc) · 2.33 KB
/
Copy pathPackage.swift
File metadata and controls
82 lines (74 loc) · 2.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
// swift-tools-version: 6.0
import PackageDescription
let package = Package(
name: "SideSign",
platforms: [
.iOS(.v15),
.macOS(.v12),
.tvOS(.v15),
.watchOS(.v8),
.visionOS(.v1)
],
products: [
.library(
name: "SideSign",
type: .static,
targets: ["SideSign"]
),
.library(
name: "SideSign-Dynamic",
type: .dynamic,
targets: ["SideSign"]
),
.executable(
name: "sidesign",
targets: ["SideSignCLI"]
),
],
dependencies: [
.package(url: "https://github.com/apple/swift-crypto.git", exact: "4.3.1"),
.package(url: "https://github.com/mahee96/CodeSignKit.git", branch: "main"),
.package(url: "https://github.com/mahee96/GSACryptoKit.git", branch: "main"),
.package(url: "https://github.com/SideStore/libdeflate", branch: "master"),
.package(url: "https://github.com/mahee96/AnisetteKit.git", branch: "main"),
// .package(name: "CodeSignKit", path: "../../local/CodeSignKit"),
// .package(name: "GSACryptoKit", path: "../../local/GSACryptoKit"),
// .package(name: "libdeflate", path: "../../local/libdeflate"),
// .package(name: "AnisetteKit", path: "../../local/AnisetteKit")
],
targets: [
.target(
name: "SideSign",
dependencies: [
.product(name: "libdeflate", package: "libdeflate"),
.product(name: "Crypto", package: "swift-crypto"),
"AnisetteKit",
"CodeSignKit",
"GSACryptoKit"
],
path: "Sources"
),
.executableTarget(
name: "SideSignCLI",
dependencies: [
"SideSign",
"CodeSignKit",
"GSACryptoKit",
"AnisetteKit",
.product(name: "Crypto", package: "swift-crypto")
],
path: "CLI"
),
.testTarget(
name: "SideSignTests",
dependencies: [
"SideSign",
"CodeSignKit",
"GSACryptoKit"
],
path: "Tests/SideSignTests"
)
],
swiftLanguageModes: [.v6],
cLanguageStandard: .gnu11
)