Content-Length: 291307 | pFad | http://github.com/NativeScript/NativeScript/commit/b649c353fb355f6c15d9cc7cd9328d50790dd977

03 feat(config): multi target support for swift packages (#10695) · NativeScript/NativeScript@b649c35 · GitHub
Skip to content

Commit b649c35

Browse files
authored
feat(config): multi target support for swift packages (#10695)
1 parent c7039dd commit b649c35

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

Diff for: packages/core/config/config.interface.ts

+10-4
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,22 @@ interface IConfigPlatform {
1212
discardUncaughtJsExceptions?: boolean;
1313
}
1414

15-
export interface IOSRemoteSPMPackage {
15+
interface IOSSPMPackageBase {
1616
name: string;
1717
libs: string[];
18+
/**
19+
* Optional: If you have more targets (like widgets for example)
20+
* you can list their names here to include the Swift Package with them
21+
*/
22+
targets?: string[];
23+
}
24+
25+
export interface IOSRemoteSPMPackage extends IOSSPMPackageBase {
1826
repositoryURL: string;
1927
version: string;
2028
}
2129

22-
export interface IOSLocalSPMPackage {
23-
name: string;
24-
libs: string[];
30+
export interface IOSLocalSPMPackage extends IOSSPMPackageBase {
2531
path: string;
2632
}
2733

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/NativeScript/NativeScript/commit/b649c353fb355f6c15d9cc7cd9328d50790dd977

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy