Skip to content

Commit 105f477

Browse files
committed
chore: build
1 parent 2090491 commit 105f477

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

lib/services/ios/spm-service.ts

+8-11
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
import { injector } from "../../common/yok";
22
import { IProjectConfigService, IProjectData } from "../../definitions/project";
3-
import {
4-
MobileProject,
5-
IosSPMPackageDefinition,
6-
} from "@rigor789/trapezedev-project";
3+
import { MobileProject } from "@rigor789/trapezedev-project";
74
import { IPlatformData } from "../../definitions/platform";
85
import path = require("path");
96

@@ -12,16 +9,16 @@ export class SPMService implements ISPMService {
129
private $logger: ILogger,
1310
private $projectConfigService: IProjectConfigService,
1411
private $xcodebuildCommandService: IXcodebuildCommandService,
15-
private $xcodebuildArgsService: IXcodebuildArgsService
12+
private $xcodebuildArgsService: IXcodebuildArgsService,
1613
) {}
1714

1815
public getSPMPackages(
1916
projectData: IProjectData,
20-
platform: string
17+
platform: string,
2118
): IosSPMPackage[] {
2219
const spmPackages = this.$projectConfigService.getValue(
2320
`${platform}.SPMPackages`,
24-
[]
21+
[],
2522
);
2623

2724
return spmPackages;
@@ -35,12 +32,12 @@ export class SPMService implements ISPMService {
3532
public async applySPMPackages(
3633
platformData: IPlatformData,
3734
projectData: IProjectData,
38-
pluginSpmPackages?: IosSPMPackage[]
35+
pluginSpmPackages?: IosSPMPackage[],
3936
) {
4037
try {
4138
const spmPackages = this.getSPMPackages(
4239
projectData,
43-
platformData.platformNameLowerCase
40+
platformData.platformNameLowerCase,
4441
);
4542

4643
if (pluginSpmPackages?.length) {
@@ -95,7 +92,7 @@ export class SPMService implements ISPMService {
9592

9693
public async resolveSPMDependencies(
9794
platformData: IPlatformData,
98-
projectData: IProjectData
95+
projectData: IProjectData,
9996
) {
10097
await this.$xcodebuildCommandService.executeCommand(
10198
this.$xcodebuildArgsService
@@ -108,7 +105,7 @@ export class SPMService implements ISPMService {
108105
{
109106
cwd: projectData.projectDir,
110107
message: "Resolving SPM dependencies...",
111-
}
108+
},
112109
);
113110
}
114111
}

0 commit comments

Comments
 (0)