@@ -13,6 +13,7 @@ let package = Package(
13
13
] ,
14
14
products: [
15
15
. library( name: " WebPush " , targets: [ " WebPush " ] ) ,
16
+ . library( name: " WebPushTesting " , targets: [ " WebPush " , " WebPushTesting " ] ) ,
16
17
] ,
17
18
dependencies: [
18
19
. package ( url: " https://github.com/apple/swift-crypto.git " , " 3.10.0 " ..< " 5.0.0 " ) ,
@@ -33,12 +34,21 @@ let package = Package(
33
34
. product( name: " NIOHTTP1 " , package : " swift-nio " ) ,
34
35
]
35
36
) ,
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
+ ) ,
36
45
. testTarget( name: " WebPushTests " , dependencies: [
37
46
. product( name: " AsyncHTTPClient " , package : " async-http-client " ) ,
38
47
. product( name: " Logging " , package : " swift-log " ) ,
39
48
. product( name: " NIOCore " , package : " swift-nio " ) ,
40
49
. product( name: " ServiceLifecycle " , package : " swift-service-lifecycle " ) ,
41
50
. target( name: " WebPush " ) ,
51
+ . target( name: " WebPushTesting " ) ,
42
52
] ) ,
43
53
]
44
54
)
0 commit comments