Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mbrandonw committed Sep 14, 2024
1 parent d266aff commit 3d9810e
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 34 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ test-integration:
xcrun xcodebuild test \
-quiet \
-scheme "Integration" \
-testPlan "Integration" \
-destination platform="$(PLATFORM_IOS)" || exit 1; \

build-for-library-evolution:
Expand Down
32 changes: 16 additions & 16 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ let package = Package(
.package(url: "https://github.com/swiftlang/swift-syntax", "509.0.0"..<"601.0.0-prerelease"),
],
targets: [
.target(
name: "DependenciesTestObserver",
dependencies: [
.product(name: "IssueReporting", package: "xctest-dynamic-overlay")
]
),
// .target(
// name: "DependenciesTestObserver",
// dependencies: [
// .product(name: "IssueReporting", package: "xctest-dynamic-overlay")
// ]
// ),
.target(
name: "Dependencies",
dependencies: [
Expand All @@ -53,7 +53,7 @@ let package = Package(
name: "DependenciesTestSupport",
dependencies: [
"Dependencies",
//.product(name: "IssueReportingTestSupport", package: "xctest-dynamic-overlay"),
.product(name: "IssueReportingTestSupport", package: "xctest-dynamic-overlay"),
]
),
.testTarget(
Expand Down Expand Up @@ -82,15 +82,15 @@ let package = Package(
]
)

#if !os(macOS) && !arch(wasm32)
package.products.append(
.library(
name: "DependenciesTestObserver",
type: .dynamic,
targets: ["DependenciesTestObserver"]
)
)
#endif
//#if !os(macOS) && !arch(wasm32)
// package.products.append(
// .library(
// name: "DependenciesTestObserver",
// type: .dynamic,
// targets: ["DependenciesTestObserver"]
// )
// )
//#endif

#if !os(WASI)
package.dependencies.append(contentsOf: [
Expand Down
36 changes: 18 additions & 18 deletions Package@swift-6.0.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ let package = Package(
name: "DependenciesTestSupport",
dependencies: [
"Dependencies",
//.product(name: "IssueReportingTestSupport", package: "xctest-dynamic-overlay"),
.product(name: "IssueReportingTestSupport", package: "xctest-dynamic-overlay"),
]
),
.testTarget(
Expand Down Expand Up @@ -78,23 +78,23 @@ let package = Package(
swiftLanguageVersions: [.v6]
)

#if !os(macOS) && !arch(wasm32)
package.products.append(
.library(
name: "DependenciesTestObserver",
type: .dynamic,
targets: ["DependenciesTestObserver"]
)
)
package.targets.append(
.target(
name: "DependenciesTestObserver",
dependencies: [
.product(name: "IssueReporting", package: "xctest-dynamic-overlay"),
]
)
)
#endif
//#if !os(macOS) && !arch(wasm32)
// package.products.append(
// .library(
// name: "DependenciesTestObserver",
// type: .dynamic,
// targets: ["DependenciesTestObserver"]
// )
// )
// package.targets.append(
// .target(
// name: "DependenciesTestObserver",
// dependencies: [
// .product(name: "IssueReporting", package: "xctest-dynamic-overlay"),
// ]
// )
// )
//#endif

#if !os(WASI)
package.dependencies.append(
Expand Down

0 comments on commit 3d9810e

Please sign in to comment.