Skip to content

Commit 0ca8d3b

Browse files
committed
Remove JSONAPIArbitrary from non test target because that breaks stuff. add swiftcheck but only to test target.
1 parent 8c53781 commit 0ca8d3b

File tree

2 files changed

+8
-17
lines changed

2 files changed

+8
-17
lines changed

Package.resolved

Lines changed: 4 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,17 @@ let package = Package(
1313
dependencies: [
1414
.package(url: "https://github.com/Flight-School/AnyCodable.git", .upToNextMinor(from: "0.2.2")),
1515
.package(url: "https://github.com/mattpolzin/Sampleable.git", .upToNextMajor(from: "2.0.0")),
16-
.package(url: "https://github.com/mattpolzin/JSONAPI-Arbitrary.git", .upToNextMajor(from: "3.0.0")),
1716
.package(url: "https://github.com/mattpolzin/JSONAPI.git", .upToNextMajor(from: "1.0.0")),
18-
.package(url: "https://github.com/mattpolzin/OpenAPI.git", .upToNextMinor(from: "0.4.0"))
17+
.package(url: "https://github.com/mattpolzin/OpenAPI.git", .upToNextMinor(from: "0.4.0")),
18+
.package(url: "https://github.com/typelift/SwiftCheck.git", .upToNextMinor(from: "0.12.0"))
1919
],
2020
targets: [
2121
.target(
2222
name: "JSONAPIOpenAPI",
23-
dependencies: ["JSONAPI", "OpenAPIKit", "AnyCodable", "JSONAPIArbitrary", "Sampleable"]),
23+
dependencies: ["JSONAPI", "OpenAPIKit", "AnyCodable", "Sampleable"]),
2424
.testTarget(
2525
name: "JSONAPIOpenAPITests",
26-
dependencies: ["JSONAPI", "JSONAPITesting", "JSONAPIOpenAPI"])
26+
dependencies: ["JSONAPI", "JSONAPITesting", "JSONAPIOpenAPI", "SwiftCheck"])
2727
],
2828
swiftLanguageVersions: [.v5]
2929
)

0 commit comments

Comments
 (0)