Skip to content

Commit c019102

Browse files
committed
visionOS support (#6)
* `visionOS` support * Update `.swiftlint.yml` * Update `CHANGELOG.md`
1 parent 0442fc3 commit c019102

4 files changed

Lines changed: 34 additions & 1 deletion

File tree

.swiftlint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ excluded:
22
- Tests
33
- Package.swift
44
- .build
5+
- Package@swift-5.7.swift
56

67
# Rules
78

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ All notable changes to this project will be documented in this file.
44
## [Unreleased]
55

66
## Added
7+
- Add `visionOS` support
8+
- Added in Pull Request [#6](https://github.com/space-code/atomic/pull/6).
9+
710
- Updating pre-commit hook rules
811
- Added in Pull Request [#5](https://github.com/space-code/atomic/pull/5).
912

Package.swift

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

44
import PackageDescription
@@ -10,6 +10,7 @@ let package = Package(
1010
.iOS(.v13),
1111
.watchOS(.v6),
1212
.tvOS(.v11),
13+
.visionOS(.v1),
1314
],
1415
products: [
1516
.library(name: "Atomic", targets: ["Atomic"]),

Package@swift-5.7.swift

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// swift-tools-version: 5.7
2+
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
4+
import PackageDescription
5+
6+
let package = Package(
7+
name: "Atomic",
8+
platforms: [
9+
.macOS(.v10_15),
10+
.iOS(.v13),
11+
.watchOS(.v6),
12+
.tvOS(.v11),
13+
],
14+
products: [
15+
.library(name: "Atomic", targets: ["Atomic"]),
16+
],
17+
dependencies: [],
18+
targets: [
19+
.target(
20+
name: "Atomic",
21+
dependencies: []
22+
),
23+
.testTarget(
24+
name: "AtomicTests",
25+
dependencies: ["Atomic"]
26+
),
27+
]
28+
)

0 commit comments

Comments
 (0)