(name: string, platform: INativeScriptPlatform)
| 32 | * @param platform A platform definition of the platform specifics |
| 33 | */ |
| 34 | export function addPlatform(name: string, platform: INativeScriptPlatform) { |
| 35 | info(`Adding platform ${name}`, platform); |
| 36 | platforms[name] = platform; |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * Utility to get the currently targeted platform definition |