Makefile: use GO111MODULE=on for installing packr2
We use Go modules for dependencies management, so we should also make sure
we use go modules for installing build dependencies.
Once we change CI code to build outside GOPATH, this can probably be removed
and we can rely on default settings.
@@ -57,4 +57,6 @@ all: build test
.PHONY: install-packr2
install-packr2:
- go get -u github.com/gobuffalo/packr/v2/packr2
+ # Once we change CI code to build outside GOPATH, GO111MODULE can be removed,
+ # so we rely on defaults.
+ GO111MODULE=on go get -u github.com/gobuffalo/packr/v2/packr2
