1
1
// swift-tools-version:5.9
2
- import CompilerPluginSupport
3
2
import PackageDescription
4
3
5
4
let package = Package (
@@ -17,16 +16,9 @@ let package = Package(
17
16
" TracingOpenTelemetrySemanticConventions " ,
18
17
]
19
18
) ,
20
- . library(
21
- name: " TracingMacros " ,
22
- targets: [
23
- " TracingMacros " ,
24
- ]
25
- ) ,
26
19
] ,
27
20
dependencies: [
28
21
. 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 " ) ,
30
22
] ,
31
23
targets: [
32
24
. target(
@@ -42,32 +34,5 @@ let package = Package(
42
34
. product( name: " Tracing " , package : " swift-distributed-tracing " ) ,
43
35
]
44
36
) ,
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
- ) ,
72
37
]
73
38
)
0 commit comments