mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-14 01:43:14 +08:00
feat(config): multi target support for swift packages (#10695)
This commit is contained in:
@ -12,16 +12,22 @@ interface IConfigPlatform {
|
||||
discardUncaughtJsExceptions?: boolean;
|
||||
}
|
||||
|
||||
export interface IOSRemoteSPMPackage {
|
||||
interface IOSSPMPackageBase {
|
||||
name: 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;
|
||||
version: string;
|
||||
}
|
||||
|
||||
export interface IOSLocalSPMPackage {
|
||||
name: string;
|
||||
libs: string[];
|
||||
export interface IOSLocalSPMPackage extends IOSSPMPackageBase {
|
||||
path: string;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user