@@ -13,6 +13,7 @@ let package = Package(
1313 ] ,
1414 products: [
1515 . library( name: " WebPush " , targets: [ " WebPush " ] ) ,
16+ . library( name: " WebPushTesting " , targets: [ " WebPush " , " WebPushTesting " ] ) ,
1617 ] ,
1718 dependencies: [
1819 . package ( url: " https://github.com/apple/swift-crypto.git " , " 3.10.0 " ..< " 5.0.0 " ) ,
@@ -33,12 +34,21 @@ let package = Package(
3334 . product( name: " NIOHTTP1 " , package : " swift-nio " ) ,
3435 ]
3536 ) ,
37+ . target(
38+ name: " WebPushTesting " ,
39+ dependencies: [
40+ . product( name: " Crypto " , package : " swift-crypto " ) ,
41+ . product( name: " Logging " , package : " swift-log " ) ,
42+ . target( name: " WebPush " ) ,
43+ ]
44+ ) ,
3645 . testTarget( name: " WebPushTests " , dependencies: [
3746 . product( name: " AsyncHTTPClient " , package : " async-http-client " ) ,
3847 . product( name: " Logging " , package : " swift-log " ) ,
3948 . product( name: " NIOCore " , package : " swift-nio " ) ,
4049 . product( name: " ServiceLifecycle " , package : " swift-service-lifecycle " ) ,
4150 . target( name: " WebPush " ) ,
51+ . target( name: " WebPushTesting " ) ,
4252 ] ) ,
4353 ]
4454)
0 commit comments