Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

Commit 5f4ae4a

Browse files
authored
Merge pull request #21 from slashmo/fix/benchmark-module-names
Prefix Benchmark targets to avoid name clashes
2 parents 744d984 + 08df215 commit 5f4ae4a

File tree

9 files changed

+5
-5
lines changed

9 files changed

+5
-5
lines changed

Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,15 @@ let package = Package(
5555
// MARK: Performance / Benchmarks
5656

5757
.target(
58-
name: "Benchmarks",
58+
name: "BaggageBenchmarks",
5959
dependencies: [
6060
"Baggage",
6161
"BaggageLogging",
62-
"SwiftBenchmarkTools",
62+
"BaggageBenchmarkTools",
6363
]
6464
),
6565
.target(
66-
name: "SwiftBenchmarkTools",
66+
name: "BaggageBenchmarkTools",
6767
dependencies: []
6868
),
6969
]
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Sources/Benchmarks/BaggagePassingBenchmarks.swift renamed to Sources/BaggageBenchmarks/BaggagePassingBenchmarks.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@
1212
//===----------------------------------------------------------------------===//
1313

1414
import Baggage
15+
import BaggageBenchmarkTools
1516
import Dispatch
1617
import class Foundation.NSLock
17-
import SwiftBenchmarkTools
1818
public let BaggagePassingBenchmarks: [BenchmarkInfo] = [
1919
// ==== ----------------------------------------------------------------------------------------------------------------
2020
// MARK: "Read only" context passing around
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
//
1212
//===----------------------------------------------------------------------===//
1313

14-
import SwiftBenchmarkTools
14+
import BaggageBenchmarkTools
1515

1616
assert({
1717
print("===========================================================================")

0 commit comments

Comments
 (0)