Moved BindingGenerator from gen html project. It makes more sense here.
This commit is contained in:
+15
-3
@@ -12,26 +12,38 @@ 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(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"],
|
||||
sources: ["example.html"],
|
||||
plugins: [.plugin(name: "BindingPlugin", package: "genhtml5")]
|
||||
plugins: [.plugin(name: "BindingPlugin")]
|
||||
),
|
||||
.plugin(
|
||||
name: "BindingPlugin",
|
||||
capability: .buildTool(),
|
||||
dependencies: [.target(name: "BindingGenerator")]
|
||||
)
|
||||
]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user