@@ -13,12 +13,20 @@ let package = Package(
1313 . watchOS( . v6)
1414 ] ,
1515 products: [
16- . library( name: " ParseServerSwift " , targets: [ " ParseServerSwift " ] )
16+ . library(
17+ name: " ParseServerSwift " ,
18+ targets: [ " ParseServerSwift " ]
19+ )
1720 ] ,
1821 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+ )
2230 ] ,
2331 targets: [
2432 . target(
@@ -27,14 +35,15 @@ let package = Package(
2735 . product( name: " Vapor " , package : " vapor " ) ,
2836 . product( name: " ParseSwift " , package : " Parse-Swift " )
2937 ] ) ,
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+ ] ) ,
3847 . testTarget( name: " ParseServerSwiftTests " , dependencies: [
3948 . target( name: " ParseServerSwift " ) ,
4049 . product( name: " XCTVapor " , package : " vapor " )
0 commit comments