( configPath: string, relativeProjectDirectory: string, runtimePlatform: BuildRuntimePlatform )
| 40 | } |
| 41 | |
| 42 | async 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 | |
| 65 | const relativeConfigPath = process.argv[2]; |
| 66 | const relativeProjectDirectoryPath = process.argv[3]; |
no test coverage detected
searching dependent graphs…