-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
26 lines (24 loc) · 936 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
// swift-tools-version:5.0
///
/// Package.swift
///
/// Created by Tony Stone on 5/27/18.
///
import PackageDescription
let package = Package(
name: "TraceLogAdaptiveWriter",
products: [
.library(name: "TraceLogAdaptiveWriter", type: .dynamic, targets: ["TraceLogAdaptiveWriter"])
],
dependencies: [
.package(url: "https://github.com/tonystone/tracelog.git", from: "5.0.0")
],
targets: [
/// Module targets
.systemLibrary(name: "systemd", pkgConfig: "libsystemd"),
.target(name: "TraceLogAdaptiveWriter", dependencies: ["TraceLog", "systemd"], path: "Sources/TraceLogAdaptiveWriter"),
/// Tests
.testTarget(name: "TraceLogAdaptiveWriterTests", dependencies: ["TraceLogAdaptiveWriter", "TraceLog"], path: "Tests/TraceLogAdaptiveWriterTests")
],
swiftLanguageVersions: [.version("5")]
)