Skip to content

Commit 534b9ef

Browse files
committed
1 parent 83942f7 commit 534b9ef

8 files changed

Lines changed: 45 additions & 34 deletions

File tree

.github/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
changelog:
2+
exclude:
3+
labels:
4+
- ignore-for-release
5+
authors:
6+
- skipbuilder
7+
categories:
8+
- title: Breaking Change
9+
labels:
10+
- Semver-Major
11+
- breaking-change
12+
- title: Enhancement
13+
labels:
14+
- Semver-Minor
15+
- enhancement
16+
- title: Other Changes
17+
labels:
18+
- "*"
19+

Package.swift

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,16 @@ let package = Package(
77
platforms: [.iOS(.v16), .macOS(.v13), .tvOS(.v16), .watchOS(.v9), .macCatalyst(.v16)],
88
products: [
99
.library(name: "SkipDevice", targets: ["SkipDevice"]),
10-
.library(name: "SkipDeviceKt", targets: ["SkipDeviceKt"]),
1110
],
1211
dependencies: [
13-
.package(url: "https://source.skip.tools/skip.git", from: "0.0.0"),
14-
.package(url: "https://source.skip.tools/skip-unit.git", from: "0.0.0"),
15-
.package(url: "https://source.skip.tools/skip-lib.git", from: "0.0.0"),
16-
.package(url: "https://source.skip.tools/skip-foundation.git", from: "0.0.0"),
12+
.package(url: "https://source.skip.tools/skip.git", from: "0.6.56"),
13+
.package(url: "https://source.skip.tools/skip-foundation.git", from: "0.1.15"),
1714
],
1815
targets: [
19-
.target(name: "SkipDevice", plugins: [.plugin(name: "skippy", package: "skip")]),
20-
.target(name: "SkipDeviceKt", dependencies: [
21-
"SkipDevice",
22-
.product(name: "SkipUnitKt", package: "skip-unit"),
23-
.product(name: "SkipLibKt", package: "skip-lib"),
24-
.product(name: "SkipFoundationKt", package: "skip-foundation"),
25-
], resources: [.process("Skip")], plugins: [.plugin(name: "transpile", package: "skip")]),
16+
.target(name: "SkipDevice", dependencies: [.product(name: "SkipFoundation", package: "skip-foundation", condition: .when(platforms: [.macOS]))], plugins: [.plugin(name: "skipstone", package: "skip")]),
2617
.testTarget(name: "SkipDeviceTests", dependencies: [
27-
"SkipDevice"
28-
], plugins: [.plugin(name: "skippy", package: "skip")]),
29-
.testTarget(name: "SkipDeviceKtTests", dependencies: [
30-
"SkipDeviceKt",
31-
.product(name: "SkipUnit", package: "skip-unit"),
32-
], resources: [.process("Skip")], plugins: [.plugin(name: "transpile", package: "skip")]),
18+
"SkipDevice",
19+
.product(name: "SkipTest", package: "skip")
20+
], plugins: [.plugin(name: "skipstone", package: "skip")]),
3321
]
3422
)

Sources/SkipDeviceKt/SkipDeviceBundle.swift

Lines changed: 0 additions & 4 deletions
This file was deleted.

Tests/SkipDeviceKtTests/Skip/skip.yml

Lines changed: 0 additions & 1 deletion
This file was deleted.

Tests/SkipDeviceKtTests/SkipDeviceKtTests.swift

Lines changed: 0 additions & 11 deletions
This file was deleted.

Tests/SkipDeviceTests/Skip/skip.yml

Whitespace-only changes.
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// Copyright 2023 Skip
2+
//
3+
// This is free software: you can redistribute and/or modify it
4+
// under the terms of the GNU Lesser General Public License 3.0
5+
// as published by the Free Software Foundation https://fsf.org
6+
#if canImport(SkipTest)
7+
import SkipTest
8+
9+
/// This test case will run the transpiled tests for the Skip module.
10+
@available(macOS 13, macCatalyst 16, *)
11+
final class XCSkipTests: XCTestCase, XCGradleHarness {
12+
public func testSkipModule() async throws {
13+
#if DEBUG
14+
try await gradle(actions: ["testDebug"])
15+
#else
16+
try await gradle(actions: ["testRelease"])
17+
#endif
18+
}
19+
}
20+
#endif

0 commit comments

Comments
 (0)