mirror of
https://github.com/apple/swift-log
synced 2026-11-22 03:40:39 +00:00
I updated the `CONTRIBUTING.md` documentation to fix the outdated name for the benchmarking plugin. The instructions now reference the `benchmark` plugin instead of the previously outdated `package-benchmark` plugin, and associated links and descriptions have been updated accordingly. Previously these were leading to `404 Not Found` errors. No code changes were made in this PR. Fixes: #510 --------- Co-authored-by: Vladimir Kukushkin <kukushechkin@mac.com>
39 lines
1.2 KiB
Swift
39 lines
1.2 KiB
Swift
// swift-tools-version: 6.2
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "MaxLogLevelWarning",
|
|
platforms: [
|
|
.macOS(.v13)
|
|
],
|
|
products: [
|
|
.executable(name: "MaxLogLevelWarning", targets: ["MaxLogLevelWarning"])
|
|
],
|
|
dependencies: [
|
|
// swift-log
|
|
.package(
|
|
path: "../../",
|
|
traits: ["MaxLogLevelWarning"]
|
|
),
|
|
// Parent Benchmarks
|
|
.package(name: "Benchmarks", path: "../"),
|
|
.package(url: "https://github.com/ordo-one/benchmark.git", from: "1.29.6"),
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "MaxLogLevelWarning",
|
|
dependencies: [
|
|
.product(name: "BenchmarksFactory", package: "Benchmarks"),
|
|
.product(name: "Benchmark", package: "benchmark"),
|
|
.product(name: "Logging", package: "swift-log"),
|
|
],
|
|
path: "Benchmarks/MaxLogLevelWarningBenchmarks",
|
|
plugins: [
|
|
.plugin(name: "BenchmarkPlugin", package: "benchmark")
|
|
]
|
|
)
|
|
]
|
|
)
|