-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
45 lines (35 loc) · 1.04 KB
/
Copy pathPackage.swift
File metadata and controls
45 lines (35 loc) · 1.04 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
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let local = false
let pykit_package: Package.Dependency = if local {
.package(path: "../PySwiftKit")
} else {
.package(url: "https://github.com/py-swift/PySwiftKit", from: .init(311, 0, 0))
}
let pyfile_package: Package.Dependency = if local {
.package(path: "../PyFileGenerator")
} else {
.package(url: "https://github.com/py-swift/PyFileGenerator", from: .init(0, 0, 1))
}
var platforms: [SupportedPlatform] = [.iOS(.v13), .macOS(.v11)]
let package = Package(
name: "PyCoreBluetooth",
platforms: platforms,
products: [
.library(name: "PyCoreBluetooth", targets: ["PyCoreBluetooth"]),
],
dependencies: [
pykit_package,
pyfile_package,
//.package(path: "/Volumes/CodeSSD/TestCommand")
],
targets: [
.target(
name: "PyCoreBluetooth",
dependencies: [
.product(name: "SwiftonizeModules", package: "PySwiftKit"),
]
),
]
)