diff --git a/Package.swift b/Package.swift index 2429e53e..7b221721 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version: 6.0 +// swift-tools-version: 5.7 import PackageDescription @@ -19,13 +19,11 @@ let package = Package( targets: [ .target( name: "Flow", - exclude: ["Example"], - swiftSettings: [.swiftLanguageVersion(.v6)] + exclude: ["Example"] ), .testTarget( name: "FlowTests", - dependencies: ["Flow"], - swiftSettings: [.swiftLanguageVersion(.v6)] + dependencies: ["Flow"] ) ] ) diff --git a/Package@swift-6.swift b/Package@swift-6.swift new file mode 100644 index 00000000..2429e53e --- /dev/null +++ b/Package@swift-6.swift @@ -0,0 +1,31 @@ +// swift-tools-version: 6.0 + +import PackageDescription + +let package = Package( + name: "Flow", + platforms: [ + .iOS(.v16), + .macOS(.v13), + .tvOS(.v16), + .watchOS(.v9) + ], + products: [ + .library(name: "Flow", targets: ["Flow"]) + ], + dependencies: [ + .package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0") + ], + targets: [ + .target( + name: "Flow", + exclude: ["Example"], + swiftSettings: [.swiftLanguageVersion(.v6)] + ), + .testTarget( + name: "FlowTests", + dependencies: ["Flow"], + swiftSettings: [.swiftLanguageVersion(.v6)] + ) + ] +)