ChromaColorPicker/Package.swift
Pedro José Pereira Vieito 723409ea2f [Package] Added SwiftPM support and added fix to ensure the currentHandle exists event when no touch has started
The fix is required to ensure the that the brightness control works when is touched before the wheel.
2020-04-13 16:54:31 +02:00

28 lines
552 B
Swift

// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "ChromaColorPicker",
platforms: [
.iOS(.v10)
],
products: [
.library(
name: "ChromaColorPicker",
targets: ["ChromaColorPicker"]
)
],
targets: [
.target(
name: "ChromaColorPicker",
path: "Source"
),
.testTarget(
name: "ChromaColorPickerTests",
dependencies: ["ChromaColorPicker"],
path: "Tests"
)
]
)