-
Notifications
You must be signed in to change notification settings - Fork 2.2k
/
Package.swift
31 lines (29 loc) · 856 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "MJExtension",
products: [
.library(name: "MJExtension", targets: ["MJExtension"]),
],
dependencies: [],
targets: [
.target(
name: "MJExtension",
dependencies: [],
path: "MJExtension",
exclude: ["Info.plist"],
resources: [.copy("PrivacyInfo.xcprivacy")],
publicHeadersPath: ".",
cxxSettings: [
.headerSearchPath("."),
]
),
// Mixed languages are not supported now. Go MJExtension project to see tests.
// .testTarget(
// name: "MJExtensionTests",
// dependencies: ["MJExtension"],
// path: "MJExtensionTests",
// exclude: ["Info.plist"]
// )
]
)