You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
None of them works... I forked the repo to remove the 1>/dev/null redirection so I can see the generator output, and got this:
[main] INFO o.o.c.languages.AbstractGoCodegen - Environment variable GO_POST_PROCESS_FILE not defined so Go code may not be properly formatted. To define it, try export GO_POST_PROCESS_FILE="/usr/local/bin/gofmt -w" (Linux/Mac)
The text was updated successfully, but these errors were encountered:
If you want the generated source files to be go-formatted, you must set the environment variable
GO_POST_PROCESS_FILE="/usr/local/bin/gofmt -w"
I tried
bazel build [...] --host_action_env=GO_POST_PROCESS_FILE="/usr/local/bin/gofmt -w"
bazel build [...] --action_env=GO_POST_PROCESS_FILE="/usr/local/bin/gofmt -w"
GO_POST_PROCESS_FILE="/usr/local/bin/gofmt -w" bazel build [...]
None of them works... I forked the repo to remove the 1>/dev/null redirection so I can see the generator output, and got this:
[main] INFO o.o.c.languages.AbstractGoCodegen - Environment variable GO_POST_PROCESS_FILE not defined so Go code may not be properly formatted. To define it, try
export GO_POST_PROCESS_FILE="/usr/local/bin/gofmt -w"(Linux/Mac)
The text was updated successfully, but these errors were encountered: