Package.swift 555 B

12345678910111213141516171819202122
  1. // swift-tools-version:5.1
  2. import PackageDescription
  3. let package = Package(
  4. name: "vapor-sql-kit",
  5. platforms: [
  6. .macOS(.v10_15)
  7. ],
  8. products: [
  9. .executable(name: "app", targets: ["App"])
  10. ],
  11. dependencies: [
  12. .package(url: "https://github.com/vapor/vapor.git", from: "4.0.0"),
  13. .package(url: "https://github.com/vapor/postgres-kit.git", from: "2.0.0"),
  14. ],
  15. targets: [
  16. .target(name: "App", dependencies: [
  17. "PostgresKit",
  18. "Vapor"
  19. ], path: "Sources")
  20. ]
  21. )