(bazel: BazelClient, workspaceRoot: string, projectSyncTargets: readonly string[])
| 125 | } |
| 126 | |
| 127 | async function buildProjectSyncs(bazel: BazelClient, workspaceRoot: string, projectSyncTargets: readonly string[]) { |
| 128 | await bazel.buildTargets(projectSyncTargets); |
| 129 | const buildOutputs = await bazel.queryBuildOutputs(projectSyncTargets); |
| 130 | const filteredBuildOutputs = buildOutputs.filter(c => c.endsWith('/projectsync.json')).sort(byString(v => v)); |
| 131 | |
| 132 | return await Promise.all(filteredBuildOutputs.map(b => parseProjectSyncJSON(path.resolve(workspaceRoot, b)))); |
| 133 | } |
| 134 | |
| 135 | async function syncPathsByLabel( |
| 136 | client: BazelClient, |
no test coverage detected