Skip to content

Commit 2b42513

Browse files
committed
Some CI fixes
1 parent 1b97e7f commit 2b42513

File tree

2 files changed

+2
-17
lines changed

2 files changed

+2
-17
lines changed

.github/workflows/cache.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,7 @@ jobs:
3737
with:
3838
swift-version: ${{ matrix.swift-version }}
3939
- uses: jdx/mise-action@v2
40+
- name: Install dependencies
41+
run: tuist install
4042
- name: Build
4143
run: tuist cache warm

Package.swift

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@ var targets: [Target] = [
77
name: "XcodeGraph",
88
dependencies: [
99
"AnyCodable",
10-
"Mockable",
1110
"Path",
12-
],
13-
swiftSettings: [
14-
.define("MOCKING", .when(configuration: .debug)),
1511
]
1612
),
1713
.target(
@@ -24,18 +20,6 @@ var targets: [Target] = [
2420
),
2521
]
2622

27-
#if TUIST
28-
import struct ProjectDescription.PackageSettings
29-
30-
let packageSettings = PackageSettings(
31-
productTypes: [
32-
"Mockable": .staticFramework,
33-
"MockableTest": .staticFramework,
34-
]
35-
)
36-
37-
#endif
38-
3923
let package = Package(
4024
name: "XcodeGraph",
4125
platforms: [.macOS(.v12)],
@@ -52,7 +36,6 @@ let package = Package(
5236
],
5337
dependencies: [
5438
.package(url: "https://github.com/Flight-School/AnyCodable", .upToNextMajor(from: "0.6.7")),
55-
.package(url: "https://github.com/Kolos65/Mockable.git", .upToNextMajor(from: "0.0.8")),
5639
.package(url: "https://github.com/tuist/Path.git", .upToNextMajor(from: "0.2.0")),
5740
],
5841
targets: targets

0 commit comments

Comments
 (0)