terraform-provider-netlify icon indicating copy to clipboard operation
terraform-provider-netlify copied to clipboard

Makefile: do not require $GOPATH

Open kmoe opened this issue 6 years ago • 1 comments

As of Go 1.11, we can no longer assume that environments with Go installed have $GOPATH set. Without this set, the Makefile would attempt to clone the website repo into /src, which will fail in most environments.

The website targets would also not update the local copy of the website repo to the latest version.

We now retrieve a fresh clone of the website repo whenever it is needed.

kmoe avatar May 22 '19 14:05 kmoe

This is an issue in several providers, so I'm holding on merging this for now until we decide whether we're going to attempt to update Makefiles en masse.

kmoe avatar Jun 05 '19 10:06 kmoe