Skip to content

Commit 05a1e8a

Browse files
committed
#56: Bodge: Added platform version requirements to Package file
Hopefully these aren't too difficult to hit
1 parent 003b70f commit 05a1e8a

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Package.swift

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1-
// swift-tools-version:5.1
1+
// swift-tools-version:5.2
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription
55

66
let package = Package(
77
name: "RectangleTools",
8+
9+
platforms: [
10+
.macOS(.v10_15),
11+
.iOS(.v13),
12+
.tvOS(.v13),
13+
.watchOS(.v6),
14+
],
15+
816
products: [
917
// Products define the executables and libraries produced by a package, and make them visible to other packages.
1018
.library(
@@ -13,7 +21,7 @@ let package = Package(
1321
],
1422
dependencies: [
1523
// Dependencies declare other packages that this package depends on.
16-
.package(url: "https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git", from: "1.0.0"),
24+
.package(name: "MultiplicativeArithmetic", url: "https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git", from: "1.0.0"),
1725
],
1826
targets: [
1927
// Targets are the basic building blocks of a package. A target can define a module or a test suite.

0 commit comments

Comments
 (0)