Currently there isn't any indication that a warning was outputted while building a package. This can be resolved by grepping for Warning: in logs, but that's a bit hacky and you need to remember to do it.
I realize that it could be a bit problematic to extract out the warnings from the rest of GHC's output. Instead of going for that level of support, it would be helpful to simply inform the user that there appear to be warnings (by searching for Warning: in the logs. This might look like this:
foo-0.0.1: configure
foo-0.0.1: build
foo-0.0.1: warnings encountered - see /home/mgsloan/foo/.stack-work/logs/foo-0.0.1.log
foo-0.0.1: install
Currently there isn't any indication that a warning was outputted while building a package. This can be resolved by grepping for
Warning:in logs, but that's a bit hacky and you need to remember to do it.I realize that it could be a bit problematic to extract out the warnings from the rest of GHC's output. Instead of going for that level of support, it would be helpful to simply inform the user that there appear to be warnings (by searching for
Warning:in the logs. This might look like this: