Skip to content

Commit

Permalink
rename Testing module to Testing_ to deconflict with swift-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
tayloraswift committed Apr 22, 2024
1 parent 6db3dd8 commit 642d595
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,26 @@ import PackageDescription
let package:Package = .init(
name: "Swift Grammar",
platforms: [.macOS(.v10_15), .iOS(.v13), .tvOS(.v13), .watchOS(.v6)],
products:
[
products: [
.library(name: "Grammar", targets: ["Grammar"]),
.library(name: "Testing", targets: ["Testing"]),
.library(name: "Testing_", targets: ["Testing_"]),
.library(name: "TraceableErrors", targets: ["TraceableErrors"]),
],
dependencies:
[
dependencies: [
// This dependency only used for the Testing module’s concurrency support.
.package(url: "https://github.com/apple/swift-atomics.git", from: "1.2.0"),
],
targets:
[
.target(name: "Grammar", dependencies:
[
targets: [
.target(name: "Grammar",
dependencies: [
.target(name: "TraceableErrors"),
]),

.target(name: "Testing", dependencies:
[
.target(name: "Testing_",
dependencies: [
.product(name: "Atomics", package: "swift-atomics"),
]),
],
path: "Sources/Testing"),

.target(name: "TraceableErrors"),
]
Expand Down

0 comments on commit 642d595

Please sign in to comment.