eas-cli
Version:
EAS command line tool
16 lines (15 loc) • 558 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.runAsync = void 0;
const run_1 = require("./android/run");
const run_2 = require("./ios/run");
const generated_1 = require("../graphql/generated");
async function runAsync(simulatorBuildPath, selectedPlatform) {
if (selectedPlatform === generated_1.AppPlatform.Ios) {
await (0, run_2.runAppOnIosSimulatorAsync)(simulatorBuildPath);
}
else {
await (0, run_1.runAppOnAndroidEmulatorAsync)(simulatorBuildPath);
}
}
exports.runAsync = runAsync;
;