resolved workspace adjustments for topological order
This commit is contained in:
+2
-5
@@ -22,15 +22,12 @@ public class DepsPipelineStage implements PipelineStage {
|
||||
return ReadOnlyCollection.with(BuildingIssue
|
||||
.builder()
|
||||
.error(true)
|
||||
.message("[DEPS]: rootProjectId directory no found: " + ctx.config.getRootProjectPath())
|
||||
.message("[BUILD]: root project directory no found: " + ctx.config.getRootProjectPath())
|
||||
.build());
|
||||
}
|
||||
final var cfg = new DependencyConfig(false, rootCanonPath);
|
||||
final var resolvedWorkspace = DependencyService.INSTANCE.run(cfg, logs);
|
||||
for (final var pId : resolvedWorkspace.stack().projects()) {
|
||||
final var pd = resolvedWorkspace.graph().projectTable().get(pId);
|
||||
logs.info("Project [ " + pd.getName() + " ] read");
|
||||
}
|
||||
resolvedWorkspace.topologicalOrder().forEach(pd -> logs.info("Project [ " + pd.getName() + " ] read"));
|
||||
ctx.resolvedWorkspace = resolvedWorkspace;
|
||||
return ReadOnlyCollection.empty();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user