Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,16 +239,17 @@ func runIt(recipe playground.Recipe) error {
TargetChain: contenderTarget,
},
}, artifacts)
if err := svcManager.Validate(); err != nil {
return fmt.Errorf("failed to validate manifest: %w", err)
}

// generate the dot graph
dotGraph := svcManager.GenerateDotGraph()
if err := artifacts.Out.WriteFile("graph.dot", dotGraph); err != nil {
return err
}

if err := svcManager.Validate(); err != nil {
return fmt.Errorf("failed to validate manifest: %w", err)
}

// save the manifest.json file
if err := svcManager.SaveJson(); err != nil {
return fmt.Errorf("failed to save manifest: %w", err)
Expand Down
Loading