@@ -50,10 +50,7 @@ let package = Package(
50
50
name: " SwiftFormat " ,
51
51
dependencies: [
52
52
" SwiftFormatConfiguration " ,
53
- " SwiftFormatCore " ,
54
- " SwiftFormatPrettyPrint " ,
55
- " SwiftFormatRules " ,
56
- " SwiftFormatWhitespaceLinter " ,
53
+ . product( name: " Markdown " , package : " swift-markdown " ) ,
57
54
. product( name: " SwiftSyntax " , package : " swift-syntax " ) ,
58
55
. product( name: " SwiftOperators " , package : " swift-syntax " ) ,
59
56
. product( name: " SwiftParser " , package : " swift-syntax " ) ,
@@ -63,43 +60,10 @@ let package = Package(
63
60
. target(
64
61
name: " SwiftFormatConfiguration "
65
62
) ,
66
- . target(
67
- name: " SwiftFormatCore " ,
68
- dependencies: [
69
- " SwiftFormatConfiguration " ,
70
- . product( name: " Markdown " , package : " swift-markdown " ) ,
71
- . product( name: " SwiftOperators " , package : " swift-syntax " ) ,
72
- . product( name: " SwiftSyntax " , package : " swift-syntax " ) ,
73
- ]
74
- ) ,
75
- . target(
76
- name: " SwiftFormatRules " ,
77
- dependencies: [
78
- " SwiftFormatCore " ,
79
- " SwiftFormatConfiguration " ,
80
- . product( name: " Markdown " , package : " swift-markdown " ) ,
81
- ]
82
- ) ,
83
- . target(
84
- name: " SwiftFormatPrettyPrint " ,
85
- dependencies: [
86
- " SwiftFormatCore " ,
87
- " SwiftFormatConfiguration " ,
88
- . product( name: " SwiftOperators " , package : " swift-syntax " ) ,
89
- ]
90
- ) ,
91
- . target(
92
- name: " SwiftFormatWhitespaceLinter " ,
93
- dependencies: [
94
- " SwiftFormatCore " ,
95
- . product( name: " SwiftSyntax " , package : " swift-syntax " ) ,
96
- ]
97
- ) ,
98
63
. target(
99
64
name: " _SwiftFormatTestSupport " ,
100
65
dependencies: [
101
- " SwiftFormatCore " ,
102
- " SwiftFormatRules " ,
66
+ " SwiftFormat " ,
103
67
" SwiftFormatConfiguration " ,
104
68
. product( name: " SwiftOperators " , package : " swift-syntax " ) ,
105
69
]
@@ -133,8 +97,7 @@ let package = Package(
133
97
. executableTarget(
134
98
name: " generate-pipeline " ,
135
99
dependencies: [
136
- " SwiftFormatCore " ,
137
- " SwiftFormatRules " ,
100
+ " SwiftFormat " ,
138
101
. product( name: " SwiftSyntax " , package : " swift-syntax " ) ,
139
102
. product( name: " SwiftParser " , package : " swift-syntax " ) ,
140
103
]
@@ -144,7 +107,6 @@ let package = Package(
144
107
dependencies: [
145
108
" SwiftFormat " ,
146
109
" SwiftFormatConfiguration " ,
147
- " SwiftFormatCore " ,
148
110
. product( name: " ArgumentParser " , package : " swift-argument-parser " ) ,
149
111
. product( name: " SwiftSyntax " , package : " swift-syntax " ) ,
150
112
. product( name: " SwiftParser " , package : " swift-syntax " ) ,
@@ -158,7 +120,7 @@ let package = Package(
158
120
. testTarget(
159
121
name: " SwiftFormatPerformanceTests " ,
160
122
dependencies: [
161
- " SwiftFormatWhitespaceLinter " ,
123
+ " SwiftFormat " ,
162
124
" _SwiftFormatTestSupport " ,
163
125
. product( name: " SwiftSyntax " , package : " swift-syntax " ) ,
164
126
. product( name: " SwiftParser " , package : " swift-syntax " ) ,
@@ -167,11 +129,8 @@ let package = Package(
167
129
. testTarget(
168
130
name: " SwiftFormatTests " ,
169
131
dependencies: [
132
+ " SwiftFormat " ,
170
133
" SwiftFormatConfiguration " ,
171
- " SwiftFormatCore " ,
172
- " SwiftFormatPrettyPrint " ,
173
- " SwiftFormatRules " ,
174
- " SwiftFormatWhitespaceLinter " ,
175
134
" _SwiftFormatTestSupport " ,
176
135
. product( name: " Markdown " , package : " swift-markdown " ) ,
177
136
. product( name: " SwiftOperators " , package : " swift-syntax " ) ,
0 commit comments