@@ -13,12 +13,20 @@ let package = Package(
13
13
. watchOS( . v6)
14
14
] ,
15
15
products: [
16
- . library( name: " ParseServerSwift " , targets: [ " ParseServerSwift " ] )
16
+ . library(
17
+ name: " ParseServerSwift " ,
18
+ targets: [ " ParseServerSwift " ]
19
+ )
17
20
] ,
18
21
dependencies: [
19
- . package ( url: " https://github.com/vapor/vapor.git " , . upToNextMajor( from: " 4.84.6 " ) ) ,
20
- . package ( url: " https://github.com/netreconlab/Parse-Swift.git " ,
21
- . upToNextMajor( from: " 5.8.2 " ) )
22
+ . package (
23
+ url: " https://github.com/vapor/vapor.git " ,
24
+ . upToNextMajor( from: " 4.91.1 " )
25
+ ) ,
26
+ . package (
27
+ url: " https://github.com/netreconlab/Parse-Swift.git " ,
28
+ . upToNextMajor( from: " 5.8.2 " )
29
+ )
22
30
] ,
23
31
targets: [
24
32
. target(
@@ -27,14 +35,15 @@ let package = Package(
27
35
. product( name: " Vapor " , package : " vapor " ) ,
28
36
. product( name: " ParseSwift " , package : " Parse-Swift " )
29
37
] ) ,
30
- . executableTarget( name: " App " ,
31
- dependencies: [ . target( name: " ParseServerSwift " ) ] ,
32
- swiftSettings: [
33
- // Enable better optimizations when building in Release configuration. Despite the use of
34
- // the `.unsafeFlags` construct required by SwiftPM, this flag is recommended for Release
35
- // builds. See <https://github.com/swift-server/guides/blob/main/docs/building.md#building-for-production> for details.
36
- . unsafeFlags( [ " -cross-module-optimization " ] , . when( configuration: . release) )
37
- ] ) ,
38
+ . executableTarget(
39
+ name: " App " ,
40
+ dependencies: [ . target( name: " ParseServerSwift " ) ] ,
41
+ swiftSettings: [
42
+ // Enable better optimizations when building in Release configuration. Despite the use of
43
+ // the `.unsafeFlags` construct required by SwiftPM, this flag is recommended for Release
44
+ // builds. See <https://github.com/swift-server/guides/blob/main/docs/building.md#building-for-production> for details.
45
+ . unsafeFlags( [ " -cross-module-optimization " ] , . when( configuration: . release) )
46
+ ] ) ,
38
47
. testTarget( name: " ParseServerSwiftTests " , dependencies: [
39
48
. target( name: " ParseServerSwift " ) ,
40
49
. product( name: " XCTVapor " , package : " vapor " )
0 commit comments