-
Notifications
You must be signed in to change notification settings - Fork 62
/
Package.swift
38 lines (37 loc) · 866 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.0
import PackageDescription
let package = Package(
name: "SwiftDefaultApps",
products: [
.executable(name: "Prefpane", targets: ["SWDA-Prefpane"]),
.executable(name: "CLI", targets: ["SWDA-CLI"])
],
dependencies: [
.package(url: "https://github.com/Lord-Kamina/SwiftCLI", from: Version("2.0.3+swift5"))
],
targets: [
.target(
name: "SWDA-Common",
path: "Sources",
sources: ["Common Sources/"]
),
.target(
name: "DummyApp",
path: "Sources",
sources: ["DummyApp/"]
),
.target(
name: "SWDA-CLI",
dependencies: ["SwiftCLI", "SWDA-Common", "DummyApp"],
path: "Sources",
sources: ["CLI Components/"]
),
.target(
name: "SWDA-Prefpane",
dependencies: ["SWDA-Common", "DummyApp"],
path: "Sources",
sources: ["Prefpane Sources/"]
)
],
swiftLanguageVersions: [.v4, .v4_2, .v5]
)