Package.swift 690 B

12345678910111213141516171819202122232425
  1. // swift-tools-version:5.5
  2. import PackageDescription
  3. let package = Package(
  4. name: "vapor-postgres",
  5. platforms: [
  6. .macOS(.v12)
  7. ],
  8. products: [
  9. .executable(name: "app", targets: ["App"])
  10. ],
  11. dependencies: [
  12. .package(url: "https://github.com/vapor/vapor.git", from: "4.52.2"),
  13. .package(url: "https://github.com/vapor/postgres-kit.git", from: "2.4.0"),
  14. ],
  15. targets: [
  16. .executableTarget(
  17. name: "App",
  18. dependencies: [
  19. .product(name: "PostgresKit", package: "postgres-kit"),
  20. .product(name: "Vapor", package: "vapor"),
  21. ],
  22. path: "Sources"),
  23. ]
  24. )