tirbofish/dropbear · diff
helper macros for the swift lang such as @Script(name) and @ScriptEntry
(i also realised that i don't have a good enough build so i will run jarvis, run github actions)
Signature present but could not be verified.
Unverified
@@ -27,4 +27,5 @@ docs dropbear_future-queue/test.log */.build/* -.build/* +.build/* +*.resolved @@ -1,6 +1,7 @@ // swift-tools-version: 6.2 import PackageDescription +import CompilerPluginSupport let package = Package( name: "dropbear", @@ -12,11 +13,19 @@ let package = Package( ), ], dependencies: [ - // .package(url: "https://github.com/nicklockwood/VectorMath", from: "0.4.0") + .package(url: "https://github.com/swiftlang/swift-syntax", from: "602.0.0") ], targets: [ + .macro( + name: "dropbear_macro", + dependencies: [ + .product(name: "SwiftSyntaxMacros", package: "swift-syntax"), + .product(name: "SwiftCompilerPlugin", package: "swift-syntax") + ] + ), .target( - name: "dropbear" + name: "dropbear", + dependencies: ["dropbear_macro"] ), .testTarget( name: "dropbearTests",
Large diffs are not rendered by default. Showing the first 50 of 373 lines. Show full diff