@nx/react-native
Version:
12 lines (11 loc) • 533 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = podInstall;
const path_1 = require("path");
const pod_install_task_1 = require("../../utils/pod-install-task");
async function* podInstall(options, context) {
const projectRoot = context.projectsConfigurations.projects[context.projectName].root;
const iosDirectory = (0, path_1.join)(context.root, projectRoot, 'ios');
await (0, pod_install_task_1.runPodInstall)(iosDirectory, true, options)();
yield { success: true };
}
;