Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract Issue Reporting to its own package #101

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .spi.yml
Original file line number Diff line number Diff line change
@@ -2,5 +2,4 @@ version: 1
builder:
configs:
- documentation_targets:
- IssueReporting
- XCTestDynamicOverlay
71 changes: 4 additions & 67 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,41 +1,5 @@
{
"pins" : [
{
"identity" : "carton",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swiftwasm/carton",
"state" : {
"revision" : "d3f1da61faa05283e46a05698ac9bea46fd1035f",
"version" : "1.1.2"
}
},
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser.git",
"state" : {
"revision" : "46989693916f56d1186bd59ac15124caef896560",
"version" : "1.3.1"
}
},
{
"identity" : "swift-atomics",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-atomics.git",
"state" : {
"revision" : "cd142fd2f64be2100422d658e7411e39489da985",
"version" : "1.2.0"
}
},
{
"identity" : "swift-collections",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-collections.git",
"state" : {
"revision" : "3d2dc41a01f9e49d84f0a3925fb858bed64f702d",
"version" : "1.1.2"
}
},
{
"identity" : "swift-docc-plugin",
"kind" : "remoteSourceControl",
@@ -46,39 +10,12 @@
}
},
{
"identity" : "swift-log",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-log.git",
"state" : {
"revision" : "9cb486020ebf03bfa5b5df985387a14a98744537",
"version" : "1.6.1"
}
},
{
"identity" : "swift-nio",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio.git",
"state" : {
"revision" : "fc79798d5a150d61361a27ce0c51169b889e23de",
"version" : "2.68.0"
}
},
{
"identity" : "swift-system",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-system.git",
"state" : {
"revision" : "6a9e38e7bd22a3b8ba80bddf395623cf68f57807",
"version" : "1.3.1"
}
},
{
"identity" : "wasmtransformer",
"identity" : "swift-issue-reporting-preview",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swiftwasm/WasmTransformer",
"location" : "https://github.com/pointfreeco/swift-issue-reporting-preview",
"state" : {
"revision" : "d04b31f61b6f528a9a96ebfe4fa4275e333eba82",
"version" : "0.5.0"
"branch" : "main",
"revision" : "5d8dcd8c27f58f1280762cc4af49fc6be0181032"
}
}
],
32 changes: 6 additions & 26 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -3,7 +3,6 @@
import PackageDescription

let package = Package(
// NB: Keep this for backwards compatibility. Will rename to 'swift-issue-reporting' in 2.0.
name: "xctest-dynamic-overlay",
platforms: [
.iOS(.v13),
@@ -12,32 +11,22 @@ let package = Package(
.watchOS(.v6),
],
products: [
.library(name: "IssueReporting", targets: ["IssueReporting"]),
.library(name: "IssueReportingTestSupport", targets: ["IssueReportingTestSupport"]),
.library(name: "XCTestDynamicOverlay", targets: ["XCTestDynamicOverlay"]),
],
dependencies: [
.package(url: "https://github.com/pointfreeco/swift-issue-reporting-preview", branch: "main"),
],
targets: [
.target(
name: "IssueReporting"
),
.testTarget(
name: "IssueReportingTests",
name: "XCTestDynamicOverlay",
dependencies: [
"IssueReporting",
"IssueReportingTestSupport",
.product(name: "IssueReporting", package: "swift-issue-reporting-preview"),
]
),
.target(
name: "IssueReportingTestSupport"
),
.target(
name: "XCTestDynamicOverlay",
dependencies: ["IssueReporting"]
),
.testTarget(
name: "XCTestDynamicOverlayTests",
dependencies: [
"IssueReportingTestSupport",
.product(name: "IssueReportingTestSupport", package: "swift-issue-reporting-preview"),
"XCTestDynamicOverlay",
]
),
@@ -47,14 +36,5 @@ let package = Package(
#if os(macOS)
package.dependencies.append(contentsOf: [
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
.package(url: "https://github.com/swiftwasm/carton", from: "1.0.0"),
])
package.targets.append(
.executableTarget(
name: "WasmTests",
dependencies: [
"IssueReporting"
]
)
)
#endif
31 changes: 6 additions & 25 deletions Package@swift-6.0.swift
Original file line number Diff line number Diff line change
@@ -11,32 +11,22 @@ let package = Package(
.watchOS(.v6),
],
products: [
.library(name: "IssueReporting", targets: ["IssueReporting"]),
.library(name: "IssueReportingTestSupport", targets: ["IssueReportingTestSupport"]),
.library(name: "XCTestDynamicOverlay", targets: ["XCTestDynamicOverlay"]),
],
dependencies: [
.package(url: "https://github.com/pointfreeco/swift-issue-reporting-preview", branch: "main"),
],
targets: [
.target(
name: "IssueReporting"
),
.testTarget(
name: "IssueReportingTests",
name: "XCTestDynamicOverlay",
dependencies: [
"IssueReporting",
"IssueReportingTestSupport",
.product(name: "IssueReporting", package: "swift-issue-reporting-preview"),
]
),
.target(
name: "IssueReportingTestSupport"
),
.target(
name: "XCTestDynamicOverlay",
dependencies: ["IssueReporting"]
),
.testTarget(
name: "XCTestDynamicOverlayTests",
dependencies: [
"IssueReportingTestSupport",
.product(name: "IssueReportingTestSupport", package: "swift-issue-reporting-preview"),
"XCTestDynamicOverlay",
]
),
@@ -53,14 +43,5 @@ let package = Package(
#if os(macOS)
package.dependencies.append(contentsOf: [
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
.package(url: "https://github.com/swiftwasm/carton", from: "1.0.0"),
])
package.targets.append(
.executableTarget(
name: "WasmTests",
dependencies: [
"IssueReporting"
]
)
)
#endif

This file was deleted.

Loading
Oops, something went wrong.
Loading
Oops, something went wrong.