11// swift-tools-version:5.9
2- import  CompilerPluginSupport
32import  PackageDescription
43
54let  package =  Package ( 
@@ -17,16 +16,9 @@ let package = Package(
1716                " TracingOpenTelemetrySemanticConventions " , 
1817            ] 
1918        ) , 
20-         . library( 
21-             name:  " TracingMacros " , 
22-             targets:  [ 
23-                 " TracingMacros " , 
24-             ] 
25-         ) , 
2619    ] , 
2720    dependencies:  [ 
2821        . package ( url:  " https://github.com/apple/swift-distributed-tracing.git " ,  from:  " 1.0.0 " ) , 
29-         . package ( url:  " https://github.com/swiftlang/swift-syntax.git " ,  from:  " 600.0.0-latest " ) , 
3022    ] , 
3123    targets:  [ 
3224        . target( 
@@ -42,32 +34,5 @@ let package = Package(
4234                . product( name:  " Tracing " ,  package :  " swift-distributed-tracing " ) , 
4335            ] 
4436        ) , 
45- 
46-         // ==== --------------------------------------------------------------------------------------------------------
47-         // MARK: TracingMacros
48- 
49-         . target( 
50-             name:  " TracingMacros " , 
51-             dependencies:  [ 
52-                 . target( name:  " TracingMacrosImplementation " ) , 
53-                 . product( name:  " Tracing " ,  package :  " swift-distributed-tracing " ) , 
54-             ] 
55-         ) , 
56-         . macro( 
57-             name:  " TracingMacrosImplementation " , 
58-             dependencies:  [ 
59-                 . product( name:  " SwiftSyntaxMacros " ,  package :  " swift-syntax " ) , 
60-                 . product( name:  " SwiftCompilerPlugin " ,  package :  " swift-syntax " ) , 
61-             ] 
62-         ) , 
63-         . testTarget( 
64-             name:  " TracingMacrosTests " , 
65-             dependencies:  [ 
66-                 . target( name:  " TracingMacros " ) , 
67-                 . target( name:  " TracingMacrosImplementation " ) , 
68-                 . product( name:  " Tracing " ,  package :  " swift-distributed-tracing " ) , 
69-                 . product( name:  " SwiftSyntaxMacrosTestSupport " ,  package :  " swift-syntax " ) , 
70-             ] 
71-         ) , 
7237    ] 
7338) 
0 commit comments