bazelbuild / rules_go

Go rules for Bazel
Apache License 2.0
1.36k stars 645 forks source link

How to integrate nogo with other tools #1998

Closed codesuki closed 3 years ago

codesuki commented 5 years ago

We are using https://github.com/haya14busa/reviewdog and I wonder how I would integrate that with nogo. Is there a way to let nogo run without stopping on errors to catch the output?

jayconrod commented 3 years ago

Closing old issues -- sorry I never responded to this one.

nogo errors are like compiler errors: they're just printed to stdout by GoCompilePkg actions. I suppose you could take the binary produced by nogo and run it separately, but that's likely difficult and not all that useful.