File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -29,4 +29,6 @@ matrix:
2929 - go : tip
3030
3131env :
32- global : GOFLAGS=-mod=vendor
32+ global :
33+ - GOFLAGS=-mod=vendor
34+ - GO111MODULE=on
Original file line number Diff line number Diff line change @@ -131,6 +131,8 @@ ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO)))
131131 echo "$(WEBSITE_REPO) not found in your GOPATH (necessary for layouts and assets), getting..."
132132 git clone https://$(WEBSITE_REPO) $(GOPATH)/src/$(WEBSITE_REPO)
133133endif
134+ ln -sf ../../../../ext/providers/tencentcloud/website/docs $(GOPATH)/src/github.com/hashicorp/terraform-website/content/source/docs/providers/tencentcloud
135+ ln -sf ../../../ext/providers/tencentcloud/website/tencentcloud.erb $(GOPATH)/src/github.com/hashicorp/terraform-website/content/source/layouts/tencentcloud.erb
134136 @$(MAKE) -C $(GOPATH)/src/$(WEBSITE_REPO) website-provider PROVIDER_PATH=$(shell pwd) PROVIDER_NAME=$(PKG_NAME)
135137
136138website-lint :
@@ -155,6 +157,8 @@ ifeq (,$(wildcard $(GOPATH)/src/$(WEBSITE_REPO)))
155157 echo "$(WEBSITE_REPO) not found in your GOPATH (necessary for layouts and assets), getting..."
156158 git clone https://$(WEBSITE_REPO) $(GOPATH)/src/$(WEBSITE_REPO)
157159endif
160+ ln -sf ../../../../ext/providers/tencentcloud/website/docs $(GOPATH)/src/github.com/hashicorp/terraform-website/content/source/docs/providers/tencentcloud
161+ ln -sf ../../../ext/providers/tencentcloud/website/tencentcloud.erb $(GOPATH)/src/github.com/hashicorp/terraform-website/content/source/layouts/tencentcloud.erb
158162 @$(MAKE) -C $(GOPATH)/src/$(WEBSITE_REPO) website-provider-test PROVIDER_PATH=$(shell pwd) PROVIDER_NAME=$(PKG_NAME)
159163
160164.PHONY : build sweep test testacc fmt fmtcheck lint tools test-compile doc hooks website website-lint website-test
You can’t perform that action at this time.
0 commit comments