()
| 11 | ).join(""); |
| 12 | } |
| 13 | function getDistPath() { |
| 14 | // if nativescript.config projectName is defined, use that custom name |
| 15 | // otherwise, default to base project directory name for project name |
| 16 | const appName = getValue('projectName') ?? sanitizeName(basename(getProjectRootPath())); |
| 17 | const platform = process.env.USER_PROJECT_PLATFORMS_IOS ? process.env.USER_PROJECT_PLATFORMS_IOS : `${env.buildPath ?? "platforms"}/ios`; |
| 18 | return `${platform}/${appName}/app`; |
| 19 | } |
| 20 | |
| 21 | const iOSPlatform: INativeScriptPlatform = { |
| 22 | getDistPath, |
no test coverage detected