-
Notifications
You must be signed in to change notification settings - Fork 63
/
Package.swift
38 lines (36 loc) · 1011 Bytes
/
Package.swift
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
// swift-tools-version:5.5
import PackageDescription
let package = Package(
name: "WeChatTweak-CLI",
platforms: [
.macOS(.v10_12)
],
products: [
.executable(
name: "wechattweak-cli",
targets: [
"WeChatTweak-CLI"
]
)
],
dependencies: [
.package(url: "https://github.com/Alamofire/Alamofire", from: "5.7.1"),
.package(url: "https://github.com/mxcl/PromiseKit", from: "6.22.1"),
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.2.2")
],
targets: [
.executableTarget(
name: "WeChatTweak-CLI",
dependencies: [
"Alamofire",
"PromiseKit",
"insert_dylib",
.product(name: "ArgumentParser", package: "swift-argument-parser")
]
),
.systemLibrary(
name: "insert_dylib",
path: "Sources/insert_dylib"
)
]
)