-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
44 lines (34 loc) · 1.11 KB
/
Package.swift
File metadata and controls
44 lines (34 loc) · 1.11 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
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
// Name of this Package
let packageName = "Backchat"
let package = Package(name: packageName)
package.products = [
.library(name: packageName, targets: [packageName])
]
package.platforms = [
.iOS(.v13),
.macOS(.v10_15)
]
package.defaultLocalization = "de"
package.dependencies = [
.package(url: "git@github.com:mxcl/PromiseKit", .upToNextMajor(from: Version(6, 1, 0))),
.package(url: "git@github.com:DG0BAB/Clause.git", .branch("master")),
.package(url: "git@github.com:DG0BAB/PetiteLogger.git", .branch("master")),
.package(url: "git@github.com:DG0BAB/Fehlerteufel.git", .branch("master")),
]
let targetDependencies: [Target.Dependency] = [
"PetiteLogger",
"Clause",
"Fehlerteufel",
"PromiseKit"
]
package.targets = [
.target(name: packageName,
dependencies: targetDependencies,
path: "Sources",
resources: [Resource.process("Resources")]),
.testTarget(name: "\(packageName)Tests",
dependencies: [Target.Dependency(stringLiteral: packageName)])
]