File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ extension String {
99
1010extension Target . Dependency {
1111 static var rfc5322 : Self { . target( name: . rfc5322) }
12+ static var rfc1123 : Self { . product( name: " RFC_1123 " , package : " swift-rfc-1123 " ) }
13+ static var rfc5321 : Self { . product( name: " RFC_5321 " , package : " swift-rfc-5321 " ) }
1214}
1315
1416let package = Package (
@@ -21,14 +23,15 @@ let package = Package(
2123 . library( name: . rfc5322, targets: [ . rfc5322] ) ,
2224 ] ,
2325 dependencies: [
24- // Add RFC dependencies here as needed
25- // .package(url: "https://github.com/swift-web-standards/swift-rfc-1123 .git", branch: "main"),
26+ . package ( url : " https://github.com/swift-web-standards/swift-rfc-1123.git " , branch : " main " ) ,
27+ . package ( url: " https://github.com/swift-web-standards/swift-rfc-5321 .git " , branch: " main " ) ,
2628 ] ,
2729 targets: [
2830 . target(
2931 name: . rfc5322,
3032 dependencies: [
31- // Add target dependencies here
33+ . rfc1123,
34+ . rfc5321
3235 ]
3336 ) ,
3437 . testTarget(
You can’t perform that action at this time.
0 commit comments