Skip to content

Commit

Permalink
Use correct git URLs to improve package resolution
Browse files Browse the repository at this point in the history
Adding .git is the recommended way to specify Github dependencies and is consistent with your other OpenAPIKit packages. Without it it seems SPM sometimes has difficulty resolving if there are multiple package in the dependency hierarchy that rely on OpenAPIKit using different "spellings" of the URL.
  • Loading branch information
siemensikkema authored Aug 31, 2020
1 parent 76f21bf commit ebad84b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ let package = Package(
targets: ["OpenAPIReflection"]),
],
dependencies: [
.package(url: "https://github.com/mattpolzin/OpenAPIKit", from: "1.0.0"),
.package(url: "https://github.com/mattpolzin/Sampleable", from: "2.1.0")
.package(url: "https://github.com/mattpolzin/OpenAPIKit.git", from: "1.0.0"),
.package(url: "https://github.com/mattpolzin/Sampleable.git", from: "2.1.0")
],
targets: [
.target(
Expand Down

0 comments on commit ebad84b

Please sign in to comment.