-
Notifications
You must be signed in to change notification settings - Fork 846
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Request: Some way of logging that tests build but don't pass #430
Comments
It's not solved yet, and should be pretty trivial to implement. Want to give a shot at a PR? The relevant code is the |
Thanks I'll give it a go. (I'm a rank beginner, so this may take me a while.) |
Hit us up with questions, happy to help On Sun, Jun 28, 2015, 12:26 AM Julian Birch notifications@github.com
|
Okay, I really can't figure this bit out: after adding something to BuildOpts, where do I register the command line flag and command line documentation? I'm finding it pretty hard to find anything that actually creates one except from Upgrade.hs. |
@JulianBirch Just make the change and try to compile, GHC should help you here. The relevant location is src/main/Main.hs, the |
Thanks, I should have thought of that. I've also learned about strict fields. :) |
Pull request sent and merged, thanks! |
Sorry if I ask, but why is building tests only reachable through |
Not sure if I parsed your comment correctly, but I think that's exactly how stack behaves today. Perhaps toy can clarify with a command line that's not doing what you expected? |
I think |
I actually use that command line occasionally. On Wed, Aug 19, 2015, 4:44 PM Paolo G. Giarrusso notifications@github.com
|
I'd like to be able to "auto commit" anything where the tests build, but log a different message depending on whether the tests pass. I don't think this is currently possible.
stack test --no-test
or similar would solve the problem, as would a more general system where you could insert commands into the process.Apologies if this is a solved problem that I can't figure out.
The text was updated successfully, but these errors were encountered: