MCPcopy Create free account
hub / github.com/expo/eas-cli / runAsync

Function runAsync

packages/steps/src/cli/cli.ts:42–63  ·  view source on GitHub ↗
(
  configPath: string,
  relativeProjectDirectory: string,
  runtimePlatform: BuildRuntimePlatform
)

Source from the content-addressed store, hash-verified

40}
41
42async function runAsync(
43 configPath: string,
44 relativeProjectDirectory: string,
45 runtimePlatform: BuildRuntimePlatform
46): Promise<void> {
47 const ctx = new BuildStepGlobalContext(
48 new CliContextProvider(
49 logger,
50 runtimePlatform,
51 relativeProjectDirectory,
52 relativeProjectDirectory,
53 relativeProjectDirectory,
54 relativeProjectDirectory
55 ),
56 false
57 );
58 const parser = new BuildConfigParser(ctx, {
59 configPath,
60 });
61 const workflow = await parser.parseAsync();
62 await workflow.executeAsync();
63}
64
65const relativeConfigPath = process.argv[2];
66const relativeProjectDirectoryPath = process.argv[3];

Callers 1

cli.tsFile · 0.70

Calls 1

executeAsyncMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…