File tree Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Expand file tree Collapse file tree 1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change 1- // swift-tools-version:5.2
1+ // swift-tools-version:6.0
22// The swift-tools-version declares the minimum version of Swift required to build this package.
33
44import PackageDescription
55
66let package = Package (
77 name: " server " ,
88 platforms: [
9- . macOS( " 10.15 " )
9+ . macOS( . v14 )
1010 ] ,
1111 dependencies: [
1212 // Dependencies declare other packages that this package depends on.
13- . package ( url: " https://github.com/vapor/vapor.git " , . upToNextMinor ( from: " 4.117.0 " ) )
13+ . package ( url: " https://github.com/vapor/vapor.git " , from: " 4.117.0 " )
1414 ] ,
1515 targets: [
1616 // Targets are the basic building blocks of a package. A target can define a module or a test suite.
1717 // Targets can depend on other targets in this package, and on products in packages which this package depends on.
18- . target (
18+ . executableTarget (
1919 name: " server " ,
2020 dependencies: [
2121 . product( name: " Vapor " , package : " vapor " )
2222 ] ,
23- swiftSettings: [
24- // Enable better optimizations when building in Release configuration. Despite the use of
25- // the `.unsafeFlags` construct required by SwiftPM, this flag is recommended for Release
26- // builds. See <https://github.com/swift-server/guides#building-for-production> for details.
27- . unsafeFlags( [ " -cross-module-optimization " ] , . when( configuration: . release) )
28- ] ) ,
29-
23+ ) ,
3024 ]
3125)
You can’t perform that action at this time.
0 commit comments