Skip to content

Commit

Permalink
Integrate visionOS support (#10)
Browse files Browse the repository at this point in the history
* Support `visionOS`

* Update `CHANGELOG.md`
  • Loading branch information
ns-vasilev authored Jan 10, 2024
1 parent da82652 commit 4c691ab
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
excluded:
- Tests
- Package.swift
- [email protected]
- [email protected]
- .build

# Rules
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -10,6 +10,7 @@ let package = Package(
.macOS(.v13),
.watchOS(.v9),
.tvOS(.v16),
.visionOS(.v1),
],
products: [
.library(name: "ValidatorCore", targets: ["ValidatorCore"]),
Expand Down
25 changes: 25 additions & 0 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -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"]),
]
)
25 changes: 25 additions & 0 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -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"]),
]
)

0 comments on commit 4c691ab

Please sign in to comment.