Skip to content
This repository has been archived by the owner on Mar 30, 2023. It is now read-only.

Commit

Permalink
Be explicit about using the vendor folder
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnGarbutt committed May 26, 2020
1 parent 16d505a commit 1e9b8fe
Show file tree
Hide file tree
Showing 185 changed files with 53,142 additions and 10 deletions.
12 changes: 2 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ all: buildlocal format buildmocks test

buildlocal:
mkdir -p `pwd`/bin
GOBIN=`pwd`/bin go install -ldflags "-X github.com/RSE-Cambridge/data-acc/pkg/version.VERSION=${VERSION}" -v ./...
GOBIN=`pwd`/bin go install -mod=vendor -ldflags "-X github.com/RSE-Cambridge/data-acc/pkg/version.VERSION=${VERSION}" -v ./...
ls -l `pwd`/bin

format:
Expand All @@ -29,7 +29,7 @@ buildmocks:
test:
mkdir -p `pwd`/bin
go vet ./...
go test -cover -race -coverprofile=./bin/coverage.txt ./...
go test -mod=vendor -cover -race -coverprofile=./bin/coverage.txt ./...

test-func:
./build/func_test.sh
Expand All @@ -43,11 +43,3 @@ tar: clean buildlocal
tar -cvzf ./bin/data-acc-`git describe --tag --dirty`.tgz ./bin/dacd ./bin/dacctl ./fs-ansible ./tools/*.sh
sha256sum ./bin/data-acc-`git describe --tag --dirty`.tgz > ./bin/data-acc-`git describe --tag`.tgz.sha256
go version > ./bin/data-acc-`git describe --tag`.go-version

dockercmd=docker run --rm -it -v ~/go:/go -w /go/src/github.com/RSE-Cambridge/data-acc golang:1.11

docker:
$(dockercmd) go install -v ./...

installdep:
curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
64 changes: 64 additions & 0 deletions vendor/github.com/coreos/etcd/clientv3/ctx.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

56 changes: 56 additions & 0 deletions vendor/github.com/coreos/etcd/version/version.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

202 changes: 202 additions & 0 deletions vendor/github.com/coreos/go-semver/LICENSE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions vendor/github.com/coreos/go-semver/NOTICE

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 1e9b8fe

Please sign in to comment.