Skip to content

Commit fe92d8b

Browse files
committed
Updating package manifest to v6
1 parent 2724ab0 commit fe92d8b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Package.swift

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

44
import PackageDescription
@@ -21,14 +21,15 @@ let package = Package(
2121
],
2222
dependencies: [
2323
// Dependencies declare other packages that this package depends on.
24-
.package(url: "https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git", from: "1.4.1"),
24+
.package(name: "MultiplicativeArithmetic", url: "https://github.com/RougeWare/Swift-MultiplicativeArithmetic.git", from: "1.4.1"),
2525
],
2626
targets: [
2727
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
2828
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
2929
.target(
3030
name: "RectangleTools",
31-
dependencies: ["MultiplicativeArithmetic"]),
31+
dependencies: ["MultiplicativeArithmetic"],
32+
swiftSettings: [.swiftLanguageMode(.v5)]),
3233
.testTarget(
3334
name: "RectangleToolsTests",
3435
dependencies: ["RectangleTools"]),

0 commit comments

Comments
 (0)