Compare commits

...

1 Commits

Author SHA1 Message Date
David Roman 1500768450
wip 2023-06-10 23:36:01 +01:00
3 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,14 @@
{
"pins" : [
{
"identity" : "swift-syntax",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-syntax",
"state" : {
"revision" : "2c49d66d34dfd6f8130afdba889de77504b58ec0",
"version" : "508.0.1"
}
}
],
"version" : 2
}

View File

@ -19,6 +19,9 @@ let package = Package(
.library(name: "SwiftUIIntrospect", targets: ["SwiftUIIntrospect"]), .library(name: "SwiftUIIntrospect", targets: ["SwiftUIIntrospect"]),
.library(name: "SwiftUIIntrospect-Static", type: .static, targets: ["SwiftUIIntrospect"]), .library(name: "SwiftUIIntrospect-Static", type: .static, targets: ["SwiftUIIntrospect"]),
.library(name: "SwiftUIIntrospect-Dynamic", type: .dynamic, targets: ["SwiftUIIntrospect"]), .library(name: "SwiftUIIntrospect-Dynamic", type: .dynamic, targets: ["SwiftUIIntrospect"]),
// infrastructure
.executable(name: "generate-docs", targets: ["GenerateDocs"]),
], ],
targets: [ targets: [
.target( .target(
@ -35,5 +38,17 @@ let package = Package(
name: "SwiftUIIntrospect", name: "SwiftUIIntrospect",
path: "Sources" path: "Sources"
), ),
.executableTarget(
name: "GenerateDocs",
dependencies: [
.product(name: "SwiftSyntax", package: "swift-syntax"),
],
path: "Scripts/GenerateDocs"
),
] ]
) )
package.dependencies += [
.package(url: "https://github.com/apple/swift-syntax", from: "508.0.1"),
]

View File

@ -0,0 +1 @@
import SwiftSyntax