mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 18:12:09 +08:00
feat(config): multi target support for swift packages (#10695)
This commit is contained in:
@ -12,16 +12,22 @@ interface IConfigPlatform {
|
|||||||
discardUncaughtJsExceptions?: boolean;
|
discardUncaughtJsExceptions?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IOSRemoteSPMPackage {
|
interface IOSSPMPackageBase {
|
||||||
name: string;
|
name: string;
|
||||||
libs: string[];
|
libs: string[];
|
||||||
|
/**
|
||||||
|
* Optional: If you have more targets (like widgets for example)
|
||||||
|
* you can list their names here to include the Swift Package with them
|
||||||
|
*/
|
||||||
|
targets?: string[];
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface IOSRemoteSPMPackage extends IOSSPMPackageBase {
|
||||||
repositoryURL: string;
|
repositoryURL: string;
|
||||||
version: string;
|
version: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface IOSLocalSPMPackage {
|
export interface IOSLocalSPMPackage extends IOSSPMPackageBase {
|
||||||
name: string;
|
|
||||||
libs: string[];
|
|
||||||
path: string;
|
path: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user