Package.swift 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. // swift-tools-version: 5.7
  2. // The swift-tools-version declares the minimum version of Swift required to build this package.
  3. import PackageDescription
  4. let package = Package(
  5. name: "Tauri",
  6. products: [
  7. // Products define the executables and libraries a package produces, and make them visible to other packages.
  8. .library(
  9. name: "Tauri",
  10. type: .static,
  11. targets: ["Tauri"]),
  12. ],
  13. dependencies: [
  14. // Dependencies declare other packages that this package depends on.
  15. .package(url: "https://github.com/Brendonovich/swift-rs", revision: "eb6de914ad57501da5019154d476d45660559999"),
  16. ],
  17. targets: [
  18. // Targets are the basic building blocks of a package. A target can define a module or a test suite.
  19. // Targets can depend on other targets in this package, and on products in packages this package depends on.
  20. .target(
  21. name: "Tauri",
  22. dependencies: [
  23. .product(name: "SwiftRs", package: "swift-rs"),
  24. ],
  25. path: "Sources"
  26. ),
  27. .testTarget(
  28. name: "TauriTests",
  29. dependencies: ["Tauri"]
  30. ),
  31. ]
  32. )