Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Okstad <pokstad@gitlab.com>2019-04-12 09:03:10 +0300
committerZeger-Jan van de Weg <git@zjvandeweg.nl>2019-04-12 09:03:10 +0300
commit955926b1bfc47e5e1765471a2099cd84edfb01c6 (patch)
tree8c87fe5482f7b7c4a7d82ccf2e3d03638d2726fa /_support
parent62dce810a31330b8e252de7fc5460a70d43a74f3 (diff)
Vendor CI Go tools
Diffstat (limited to '_support')
-rw-r--r--_support/makegen.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/_support/makegen.go b/_support/makegen.go
index 82e924062..146197857 100644
--- a/_support/makegen.go
+++ b/_support/makegen.go
@@ -370,7 +370,7 @@ lint: {{ .GoLint }}
@cd {{ .SourceDir }} && go run _support/lint.go
{{ .GoLint }}:
- go get golang.org/x/lint/golint
+ go install {{ .SourceDir }}/vendor/golang.org/x/lint/golint
.PHONY: check-formatting
check-formatting: {{ .GoImports }}
@@ -378,7 +378,7 @@ check-formatting: {{ .GoImports }}
@cd {{ .SourceDir }} && goimports -e -l {{ join .GoFiles " " }} | awk '{ print } END { if(NR>0) { print "Formatting error, run make format"; exit(1) } }'
{{ .GoImports }}:
- go get golang.org/x/tools/cmd/goimports
+ go install {{ .SourceDir }}/vendor/golang.org/x/tools/cmd/goimports
.PHONY: format
format: {{ .GoImports }}
@@ -393,7 +393,7 @@ staticcheck: {{ .StaticCheck }}
# Install staticcheck
{{ .StaticCheck }}:
- go get honnef.co/go/tools/cmd/staticcheck
+ go install {{ .SourceDir }}/vendor/honnef.co/go/tools/cmd/staticcheck
.PHONY: govendor-status
govendor-status: {{ .GoVendor }}
@@ -401,7 +401,7 @@ govendor-status: {{ .GoVendor }}
@cd {{ .SourceDir }} && govendor status
{{ .GoVendor }}:
- go get github.com/kardianos/govendor
+ go install {{ .SourceDir }}/vendor/github.com/kardianos/govendor
.PHONY: notice-up-to-date
notice-up-to-date: {{ .GoVendor }} clean-ruby-vendor-go
@@ -439,7 +439,7 @@ cover: prepare-tests {{ .GoCovMerge }}
@go tool cover -func "{{ .CoverageDir }}/all.merged"
{{ .GoCovMerge }}:
- go get github.com/wadey/gocovmerge
+ go install {{ .SourceDir }}/vendor/github.com/wadey/gocovmerge
.PHONY: docker
docker: