-
-
Save laevandus/e898accf4ff906b11f076f2c564701f7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// swift-tools-version: 5.7 | |
// The swift-tools-version declares the minimum version of Swift required to build this package. | |
import PackageDescription | |
let package = Package( | |
name: "ToomasKit", | |
platforms: [ | |
.iOS(.v16) | |
], | |
products: [ | |
.library( | |
name: "ToomasKit", | |
targets: ["ToomasKit"] | |
), | |
], | |
targets: [ | |
.target( | |
name: "ToomasKit", | |
plugins: [ | |
.plugin(name: "ToomasKitPlugin") | |
] | |
), | |
.executableTarget( | |
name: "CodeGenerator" | |
), | |
.plugin( | |
name: "ToomasKitPlugin", | |
capability: .buildTool(), | |
dependencies: ["CodeGenerator"] | |
), | |
.testTarget( | |
name: "ToomasKitTests", | |
dependencies: ["ToomasKit"] | |
), | |
] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment