Open akrymets opened 1 year ago
Hey.
I've encountered this bug, also. As a workaround, I've added this line to my .zshrc
:
export GOFLAGS="-o=$HOME/go/bin/"
This will make go
output binaries to your $HOME/go/bin
folder.
AFAIK, the default build command doesn't produce any executable because by default, go
outputs it to the STDOUT.
Expected Behavior
{Please write here}
Actual Behavior
Steps to Reproduce (including precondition)
Simply run
I noticed following lines in the log:
These 3 trailig dots in
go build -v ./...
command look weird.If I simply execute
go build -v .
command in the repository folder/Users/user/.m1-terraform-provider-helper/terraform-provider-random
then everything works fine, and the provider gets built (I achieve the expected behavior)Your Environment