Lines Matching refs:platform
45 async function generateMacrosAsync(platform, configuration) {
52 const macroValue = await func.call(macros, platform, configuration);
66 function getMacrosGeneratorForPlatform(platform) {
67 if (platform === 'ios') {
70 if (platform === 'android') {
73 throw new Error(`Platform '${platform}' is not supported.`);
86 const { platform, bareExpo } = args; constant
90 const macros = await generateMacrosAsync(platform, args.configuration);
91 const macrosGenerator = getMacrosGeneratorForPlatform(platform);
96 platform,
164 async function copyTemplateFilesAsync(platform: string, args: any, templateSubstitutions: any) {
167 path.join(templateFilesPath, `${platform}-paths.json`)
177 chalk.cyan(path.join(templateFilesPath, platform, source))
186 chalk.cyan(path.join(templateFilesPath, platform, source)),
192 path.join(templateFilesPath, platform, source),