Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

migrate from dep to go module #2890

Merged
merged 3 commits into from
Jun 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -297,23 +297,6 @@ GOPATH=$(shell go env GOPATH)

get-deps: .get-deps-stamp


PLATFORM:=$(shell uname -s)
ifeq (${PLATFORM},Linux)
dep_arch=linux-386
else ifeq (${PLATFORM},Darwin)
dep_arch=darwin-386
endif

DEP_VERSION=v0.5.0
.PHONY: get-dep
get-dep: bin/dep
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👋


bin/dep:
mkdir -p ./bin
curl -L https://github.com/golang/dep/releases/download/$(DEP_VERSION)/dep-${dep_arch} -o ./bin/dep
chmod +x ./bin/dep

clean:
# ensure docker is running and we can talk to it, abort if not:
docker ps > /dev/null
Expand Down
Loading