Skip to content

Commit

Permalink
Update generate-package-api-docs.swift
Browse files Browse the repository at this point in the history
Add support for 5.10 and Swift 6.0 manifests
  • Loading branch information
0xTim authored Jul 31, 2024
1 parent 07c737a commit a534742
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate-package-api-docs.swift
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ func run() throws {
}

func ensurePluginAvailable() throws {
for manifestName in ["[email protected]", "[email protected]", "[email protected]", "Package.swift"] {
for manifestName in ["[email protected]", "[email protected]", "[email protected]", "Package@swift-5.10.swift", "[email protected]", "Package.swift"] {
let manifestUrl = URL.currentDirectory().appending(component: manifestName)
var manifestContents: String
do { manifestContents = try String(contentsOf: manifestUrl, encoding: .utf8) }
Expand Down

0 comments on commit a534742

Please sign in to comment.