mirror of
https://github.com/vapor/template-fluent-postgres.git
synced 2025-04-20 09:27:08 +08:00
Autogenerated from git://github.com/vapor/template.git@a0d96b86c666a39a783c8eb4379c05d262e14972
This commit is contained in:
parent
249f06efeb
commit
7b42d00a99
@ -4,12 +4,14 @@ import PackageDescription
|
||||
let package = Package(
|
||||
name: "template-fluent-postgres",
|
||||
platforms: [
|
||||
.macOS(.v12)
|
||||
.macOS(.v13)
|
||||
],
|
||||
dependencies: [
|
||||
// 💧 A server-side Swift web framework.
|
||||
.package(url: "https://github.com/vapor/vapor.git", from: "4.76.0"),
|
||||
.package(url: "https://github.com/vapor/vapor.git", from: "4.77.1"),
|
||||
// 🗄 An ORM for SQL and NoSQL databases.
|
||||
.package(url: "https://github.com/vapor/fluent.git", from: "4.8.0"),
|
||||
// ὁ8 Fluent driver for Postgres.
|
||||
.package(url: "https://github.com/vapor/fluent-postgres-driver.git", from: "2.7.2"),
|
||||
],
|
||||
targets: [
|
||||
@ -19,12 +21,6 @@ let package = Package(
|
||||
.product(name: "Fluent", package: "fluent"),
|
||||
.product(name: "FluentPostgresDriver", package: "fluent-postgres-driver"),
|
||||
.product(name: "Vapor", package: "vapor")
|
||||
],
|
||||
swiftSettings: [
|
||||
// Enable better optimizations when building in Release configuration. Despite the use of
|
||||
// the `.unsafeFlags` construct required by SwiftPM, this flag is recommended for Release
|
||||
// builds. See <https://www.swift.org/server/guides/building.html#building-for-production> for details.
|
||||
.unsafeFlags(["-cross-module-optimization"], .when(configuration: .release))
|
||||
]
|
||||
),
|
||||
.testTarget(name: "AppTests", dependencies: [
|
||||
|
Loading…
x
Reference in New Issue
Block a user