Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions Package@swift-5.5.swift
Original file line number Diff line number Diff line change
@@ -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",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added DeviceKitDynamic, everything else is 1:1 copy from Package.swift

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you tested this already in Production?

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]
)