Skip to content

Commit

Permalink
Provide an end-of-build message
Browse files Browse the repository at this point in the history
Addresses issue grafana#38
  • Loading branch information
javaducky committed Mar 18, 2022
1 parent 25958d3 commit dbf0962
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions cmd/xk6/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,15 @@ func runBuild(ctx context.Context, args []string) error {
}
}

fmt.Println("***************************************************")
fmt.Println("* BUILD COMPLETE - FOLLOW THESE STEPS TO CONTINUE *")
fmt.Println("***************************************************")
fmt.Println("xk6 has now produced a new k6 binary with the following:")
for _, extension := range extensions {
fmt.Println(" -", extension.PackagePath)
}
fmt.Printf("To use it, call it directly as `%v run <SCRIPT_NAME>`.\n", output)

return nil
}

Expand Down

0 comments on commit dbf0962

Please sign in to comment.