Package.swift 665 B

12345678910111213141516171819202122232425262728
  1. // swift-tools-version:5.1
  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: "DGCharts",
  6. platforms: [
  7. .iOS(.v12),
  8. .tvOS(.v12),
  9. .macOS(.v10_12),
  10. ],
  11. products: [
  12. .library(
  13. name: "DGCharts",
  14. targets: ["DGCharts"]),
  15. .library(
  16. name: "DGChartsDynamic",
  17. type: .dynamic,
  18. targets: ["DGCharts"])
  19. ],
  20. targets: [
  21. .target(
  22. name: "DGCharts",
  23. path: "Source/Charts"
  24. )
  25. ],
  26. swiftLanguageVersions: [.v5]
  27. )