Browse Source

build: prevent 'make tools' from editing go.mod and go.sum (#6738)

pull/6744/head
R.B. Boyer 5 years ago committed by GitHub
parent
commit
734b6287b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      .gitignore
  2. 6
      GNUmakefile

1
.gitignore vendored

@ -7,6 +7,7 @@
.DS_Store
.fseventsd
.envrc
.gotools
.vagrant/
.idea/
/pkg

6
GNUmakefile

@ -330,7 +330,11 @@ static-assets:
ui: ui-docker static-assets-docker
tools:
go get -v $(GOTOOLS)
@mkdir -p .gotools
@cd .gotools && if [[ ! -f go.mod ]]; then \
go mod init consul-tools ; \
fi
cd .gotools && go get -v $(GOTOOLS)
version:
@echo -n "Version: "

Loading…
Cancel
Save