Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
![]() |
1500768450 |
|
@ -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
|
||||||
|
}
|
|
@ -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"),
|
||||||
|
]
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
import SwiftSyntax
|
Loading…
Reference in New Issue