Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change to print live build information to user #18

Merged
merged 1 commit into from Mar 9, 2019
Merged

Change to print live build information to user #18

merged 1 commit into from Mar 9, 2019

Conversation

barskern
Copy link
Collaborator

@barskern barskern commented Mar 9, 2019

Instead of letting the user wait at a blank prompt, we can redirect stderr of the child process to the current process so that the user will receive live build output. This automatically leverages cargo's built in colors etc. in the build output.

I have tested this on linux and it works like a charm. It should work on other platforms aswell.

Screenshot_2019-03-09_21-42-00

Instead of letting the user wait at a blank prompt, we can redirect
stderr of the child process to the current process so that the user will
receive live build output. This automatically leverages cargo's built
in colors etc. in the build output.
@barskern barskern requested a review from cbourjau March 9, 2019 20:29
Copy link
Owner

@cbourjau cbourjau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, yet another simple but very nice improvement! Thanks so much for driving this forward!

@barskern
Copy link
Collaborator Author

barskern commented Mar 9, 2019

No problem, I'm learning and enjoying it as I go! 😄

@barskern barskern merged commit 8f8a889 into cbourjau:master Mar 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants