Skip to content

Commit

Permalink
Remove build plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
rpassis committed Nov 1, 2024
1 parent f334dea commit 18469ae
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,6 @@ let package = Package(
dependencies: targetDependencies,
path: "Sources",
exclude: ["OpenAPI/app_store_connect_api.json", "OpenAPI/create-api.yml"]
),
.binaryTarget(
name: "create-api", // Find the URL and checksum at https://github.com/createapi/createapi/releases/latest
url: "https://github.com/CreateAPI/CreateAPI/releases/download/0.2.0/create-api.artifactbundle.zip",
checksum: "6f8a3ce099f07eb2655ccaf6f66d8c9a09b74bb2307781c4adec36609ddac009"
),
.plugin(
name: "CreateAPI",
capability: .command(
intent: .custom(
verb: "generate-open-api",
description: "Generates the OpenAPI entities and paths using CreateAPI"
),
permissions: [
.writeToPackageDirectory(reason: "To output the generated source code")
]
),
dependencies: [
.target(name: "create-api")
]
)
]
)

0 comments on commit 18469ae

Please sign in to comment.