MCPcopy Index your code
hub / github.com/NativeScript/NativeScript / getDistPath

Function getDistPath

packages/webpack5/src/platforms/ios.ts:13–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11 ).join("");
12}
13function 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
21const iOSPlatform: INativeScriptPlatform = {
22 getDistPath,

Callers 1

platform.spec.tsFile · 0.90

Calls 3

getValueFunction · 0.90
getProjectRootPathFunction · 0.90
sanitizeNameFunction · 0.70

Tested by

no test coverage detected