-
Notifications
You must be signed in to change notification settings - Fork 63
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
Add more informative log messages for cradle running #406
Conversation
04df167
to
22ce865
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ShellCommand sh -> pretty sh | ||
RawCommand cmd args -> pretty cmd <+> pretty (unwords args) | ||
] | ||
<> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<> | |
line |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That adds an extra new line in the case where we have no environment variables.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can do vcat [doc1, doc2]
if you like. Just that this one will try to lay it out on one line, which you probably don't want
-- ------------------------------------------------ | ||
|
||
-- | Prettify 'CmdSpec', so we can show the command to a user | ||
prettyCmdSpec :: CmdSpec -> String |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These aren't returning Doc
because they're being used by other stuff, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, exactly.
22ce865
to
9e0c490
Compare
Just addig more logging information, including environment variable information.