MCPcopy Index your code
hub / github.com/ionic-team/capacitor / doAdd

Function doAdd

cli/src/tasks/add.ts:125–133  ·  view source on GitHub ↗
(config: Config, platformName: string)

Source from the content-addressed store, hash-verified

123}
124
125async function doAdd(config: Config, platformName: string): Promise<void> {
126 await runTask(c.success(c.strong('add')), async () => {
127 if (platformName === config.ios.name) {
128 await addIOS(config);
129 } else if (platformName === config.android.name) {
130 await addAndroid(config);
131 }
132 });
133}
134
135async function editPlatforms(config: Config, platformName: string) {
136 if (platformName === config.ios.name) {

Callers 1

addCommandFunction · 0.85

Calls 3

runTaskFunction · 0.90
addIOSFunction · 0.90
addAndroidFunction · 0.90

Tested by

no test coverage detected