Package.swift 861 B

123456789101112131415161718192021222324
  1. // swift-tools-version:5.0
  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: "RNCryptor",
  6. products: [
  7. // Products define the executables and libraries produced by a package, and make them visible to other packages.
  8. .library(
  9. name: "RNCryptor",
  10. targets: ["RNCryptor"]),
  11. ],
  12. targets: [
  13. // Targets are the basic building blocks of a package. A target can define a module or a test suite.
  14. // Targets can depend on other targets in this package, and on products in packages which this package depends on.
  15. .target(
  16. name: "RNCryptor",
  17. dependencies: []),
  18. .testTarget(
  19. name: "RNCryptorTests",
  20. dependencies: ["RNCryptor"]),
  21. ]
  22. )