Skip to content
Merged
Show file tree
Hide file tree
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
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,18 @@ xcuserdata
*.DS_Store
Utils/gyb.pyc

.build
/.previous-build
xcuserdata
.DS_Store
*~
\#*
.\#*
*.xcscmblueprint
/default.profraw
Utilities/Docker/*.tar.gz
.swiftpm
Package.resolved

## Generated Files
# *.generated.swift # we have to check it in because of CocoaPods ...
29 changes: 28 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// swift-tools-version:5.0
//===----------------------------------------------------------------------===//
//
// This source file is part of the DeviceKit open source project
Expand All @@ -11,4 +12,30 @@

import PackageDescription

let package = Package(name: "DeviceKit")
let package = Package(
name: "DeviceKit",
platforms: [
.iOS(.v8),
.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"])
],
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]
)