From 736a0284393233fe7ee6cad669f078172b509221 Mon Sep 17 00:00:00 2001 From: Stefan Fessler Date: Fri, 22 Apr 2022 16:52:34 -0300 Subject: [PATCH] feat: added DeviceKitDynamic --- Package@swift-5.5.swift | 47 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 Package@swift-5.5.swift diff --git a/Package@swift-5.5.swift b/Package@swift-5.5.swift new file mode 100644 index 00000000..690a4d7a --- /dev/null +++ b/Package@swift-5.5.swift @@ -0,0 +1,47 @@ +// swift-tools-version:5.5 +//===----------------------------------------------------------------------===// +// +// This source file is part of the DeviceKit open source project +// +// Copyright © 2014 - 2018 Dennis Weissmann and the DeviceKit project authors +// +// License: https://github.com/dennisweissmann/DeviceKit/blob/master/LICENSE +// Contributors: https://github.com/dennisweissmann/DeviceKit#contributors +// +//===----------------------------------------------------------------------===// + +import PackageDescription + +let package = Package( + name: "DeviceKit", + platforms: [ + .iOS(.v9), + .tvOS(.v9), + .watchOS(.v2) + ], + products: [ + // Products define the executables and libraries produced by a package, and make them visible to other packages. + .library( + name: "DeviceKit", + targets: ["DeviceKit"] + ), + .library( + name: "DeviceKitDynamic", + type: .dynamic, + targets: ["DeviceKit"] + ) + ], + targets: [ + // Targets are the basic building blocks of a package. A target can define a module or a test suite. + // Targets can depend on other targets in this package, and on products in packages which this package depends on. + .target( + name: "DeviceKit", + dependencies: [], + path: "Source"), + .testTarget( + name: "DeviceKitTests", + dependencies: ["DeviceKit"], + path: "Tests") + ], + swiftLanguageVersions: [.v5] +)