-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
32 lines (24 loc) · 912 Bytes
/
Package.swift
File metadata and controls
32 lines (24 loc) · 912 Bytes
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
// 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 = "Clause"
// Package creation
let package = Package(name: packageName)
// Products define the executables and libraries produced by a package, and make them visible to other packages.
package.products = [.library(name: packageName, targets: [packageName])]
package.platforms = [.iOS(.v13), .macOS(.v10_15)]
package.dependencies = [
.package(url: "https://github.com/DG0BAB/PetiteLogger.git", .branch("master"))
]
let targetDependencies: [Target.Dependency] = [
"PetiteLogger"
]
package.targets = [
.target(name: packageName,
dependencies: targetDependencies,
path: "Sources"),
.testTarget(name: "\(packageName)Tests",
dependencies: [Target.Dependency(stringLiteral: packageName)],
path: "Tests"),
]