diff --git a/.swiftlint.yml b/.swiftlint.yml index 77ee1c7..850b436 100644 --- a/.swiftlint.yml +++ b/.swiftlint.yml @@ -1,6 +1,8 @@ excluded: - Tests - Package.swift + - Package@swift-5.7.swift + - Package@swift-5.8.swift - .build # Rules diff --git a/CHANGELOG.md b/CHANGELOG.md index 162b12c..58e4632 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ All notable changes to this project will be documented in this file. ## [Unreleased] +- Support `visionOS` + - Added in Pull Request [#10](https://github.com/space-code/validator/pull/10). - Integrate `danger` - Added in Pull Request [#9](https://github.com/space-code/validator/pull/9). - Add an issue template & a pull request template diff --git a/Package.swift b/Package.swift index 7e4fb4f..715d497 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version: 5.7 +// swift-tools-version: 5.9 // The swift-tools-version declares the minimum version of Swift required to build this package. import PackageDescription @@ -10,6 +10,7 @@ let package = Package( .macOS(.v13), .watchOS(.v9), .tvOS(.v16), + .visionOS(.v1), ], products: [ .library(name: "ValidatorCore", targets: ["ValidatorCore"]), diff --git a/Package@swift-5.7.swift b/Package@swift-5.7.swift new file mode 100644 index 0000000..7e4fb4f --- /dev/null +++ b/Package@swift-5.7.swift @@ -0,0 +1,25 @@ +// swift-tools-version: 5.7 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "Validator", + platforms: [ + .iOS(.v16), + .macOS(.v13), + .watchOS(.v9), + .tvOS(.v16), + ], + products: [ + .library(name: "ValidatorCore", targets: ["ValidatorCore"]), + .library(name: "ValidatorUI", targets: ["ValidatorUI"]), + ], + dependencies: [], + targets: [ + .target(name: "ValidatorCore", dependencies: []), + .target(name: "ValidatorUI", dependencies: ["ValidatorCore"]), + .testTarget(name: "ValidatorCoreTests", dependencies: ["ValidatorCore"]), + .testTarget(name: "ValidatorUITests", dependencies: ["ValidatorCore", "ValidatorUI"]), + ] +) diff --git a/Package@swift-5.8.swift b/Package@swift-5.8.swift new file mode 100644 index 0000000..16520f7 --- /dev/null +++ b/Package@swift-5.8.swift @@ -0,0 +1,25 @@ +// swift-tools-version: 5.8 +// The swift-tools-version declares the minimum version of Swift required to build this package. + +import PackageDescription + +let package = Package( + name: "Validator", + platforms: [ + .iOS(.v16), + .macOS(.v13), + .watchOS(.v9), + .tvOS(.v16), + ], + products: [ + .library(name: "ValidatorCore", targets: ["ValidatorCore"]), + .library(name: "ValidatorUI", targets: ["ValidatorUI"]), + ], + dependencies: [], + targets: [ + .target(name: "ValidatorCore", dependencies: []), + .target(name: "ValidatorUI", dependencies: ["ValidatorCore"]), + .testTarget(name: "ValidatorCoreTests", dependencies: ["ValidatorCore"]), + .testTarget(name: "ValidatorUITests", dependencies: ["ValidatorCore", "ValidatorUI"]), + ] +)