@@ -8,15 +8,13 @@ extension String {
88 static let htmlCSSPointFree : Self = " HTML+CSS+PointFreeHTML "
99 static let htmlAttributesPointFreeHTML : Self = " HTMLAttributes+PointFreeHTML "
1010 static let htmlElementsPointFreeHTML : Self = " HTMLElements+PointFreeHTML "
11- static let htmlTestSupport : Self = " HTMLTestSupport "
1211}
1312
1413extension Target . Dependency {
1514 static var htmlCSS : Self { . target( name: . htmlCSS) }
1615 static var htmlAttributesPointFreeHTML : Self { . target( name: . htmlAttributesPointFreeHTML) }
1716 static var htmlElementsPointFreeHTML : Self { . target( name: . htmlElementsPointFreeHTML) }
1817 static var htmlCSSPointFree : Self { . target( name: . htmlCSSPointFree) }
19- static var htmlTestSupport : Self { . target( name: . htmlTestSupport) }
2018}
2119
2220extension Target . Dependency {
@@ -26,8 +24,7 @@ extension Target.Dependency {
2624 static var htmlAttributeTypes : Self { . product( name: " HTMLAttributeTypes " , package : " swift-html-types " ) }
2725 static var htmlElementTypes : Self { . product( name: " HTMLElementTypes " , package : " swift-html-types " ) }
2826 static var pointFreeHTML : Self { . product( name: " PointFreeHTML " , package : " pointfree-html " ) }
29- static var inlineSnapshotTesting : Self { . product( name: " InlineSnapshotTesting " , package : " swift-snapshot-testing " ) }
30- static var dependenciesTestSupport : Self { . product( name: " DependenciesTestSupport " , package : " swift-dependencies " ) }
27+ static var pointFreeHtmlTestSupport : Self { . product( name: " PointFreeHtmlTestSupport " , package : " pointfree-html " ) }
3128}
3229
3330let package = Package (
@@ -44,14 +41,11 @@ let package = Package(
4441 . library( name: . htmlCSSPointFree, targets: [ . htmlCSSPointFree] ) ,
4542 . library( name: . htmlAttributesPointFreeHTML, targets: [ . htmlAttributesPointFreeHTML] ) ,
4643 . library( name: . htmlElementsPointFreeHTML, targets: [ . htmlElementsPointFreeHTML] ) ,
47- . library( name: . htmlTestSupport, targets: [ . htmlTestSupport] ) ,
4844 ] ,
4945 dependencies: [
5046 . package ( url: " https://github.com/coenttb/swift-html-types.git " , branch: " main " ) ,
5147 . package ( url: " https://github.com/coenttb/swift-css-types.git " , branch: " main " ) ,
5248 . package ( url: " https://github.com/coenttb/pointfree-html.git " , branch: " main " ) ,
53- . package ( url: " https://github.com/pointfreeco/swift-snapshot-testing.git " , from: " 1.18.3 " ) ,
54- . package ( url: " https://github.com/pointfreeco/swift-dependencies.git " , branch: " 1.9.0 " ) ,
5549 ] ,
5650 targets: [
5751 . target(
@@ -69,7 +63,7 @@ let package = Package(
6963 dependencies: [
7064 . htmlCSSPointFree,
7165 . pointFreeHTML,
72- . htmlTestSupport ,
66+ . pointFreeHtmlTestSupport ,
7367 ]
7468 ) ,
7569 . target(
@@ -85,7 +79,7 @@ let package = Package(
8579 . htmlCSS,
8680 . cssTypes,
8781 . pointFreeHTML,
88- . htmlTestSupport ,
82+ . pointFreeHtmlTestSupport ,
8983 ]
9084 ) ,
9185 . target(
@@ -100,7 +94,7 @@ let package = Package(
10094 dependencies: [
10195 . htmlAttributesPointFreeHTML,
10296 . pointFreeHTML,
103- . htmlTestSupport ,
97+ . pointFreeHtmlTestSupport ,
10498 ]
10599 ) ,
106100 . target(
@@ -116,18 +110,11 @@ let package = Package(
116110 dependencies: [
117111 . htmlElementsPointFreeHTML,
118112 . pointFreeHTML,
119- . htmlTestSupport
120- ]
121- ) ,
122- . target(
123- name: . htmlTestSupport,
124- dependencies: [
125- . pointFreeHTML,
126- . inlineSnapshotTesting,
127- . dependenciesTestSupport
113+ . pointFreeHtmlTestSupport
128114 ]
129115 ) ,
130116 ] ,
117+ swiftLanguageModes: [ . v5]
131118)
132119
133120extension String {
0 commit comments