57 lines
1.4 KiB
Swift
57 lines
1.4 KiB
Swift
// swift-tools-version:6.1.0
|
|
|
|
//
|
|
// Package.swift
|
|
// HRW
|
|
//
|
|
// Created by Isaac Paul on 10/15/24
|
|
// Non-commercial license, see LICENSE.MD in the project root for details
|
|
//
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "HRW",
|
|
platforms: [
|
|
.macOS(.v13), //v10_15
|
|
.iOS(.v13)],
|
|
products: [
|
|
.library(
|
|
name: "HRW",
|
|
targets: ["HRW"]
|
|
),
|
|
.plugin(name: "BindingPlugin", targets: ["BindingPlugin"])
|
|
],
|
|
dependencies: [
|
|
.package(path: "/Users/isaacpaul/Projects/swift-projects/GenHTML5"),
|
|
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.3.0"),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "HRW",
|
|
dependencies: [ ]
|
|
),
|
|
.executableTarget(name: "BindingGenerator", dependencies: [
|
|
.product(name: "ArgumentParser", package: "swift-argument-parser")
|
|
]),
|
|
.testTarget(
|
|
name: "HRWTests",
|
|
dependencies: [
|
|
"HRW"],
|
|
plugins: [.plugin(name: "BindingPlugin")]
|
|
),
|
|
.plugin(
|
|
name: "BindingPlugin",
|
|
capability: .buildTool(),
|
|
dependencies: [.target(name: "BindingGenerator")]
|
|
)
|
|
]
|
|
)
|
|
/*
|
|
|
|
Showing All Messages
|
|
product 'BindingGenerator' required by package 'hrw' target 'HRWTests' not found. Did you mean ''?
|
|
|
|
|
|
*/
|