From 7d9d0e940c7c1d8aa0bf1d2cc41a7ef5823f4216 Mon Sep 17 00:00:00 2001 From: Dennis Coyle Date: Tue, 17 Apr 2018 13:29:15 -0400 Subject: [PATCH] updating how we get dev deps --- Makefile | 5 ++++- README.md | 5 ++--- dev/go.mod | 3 --- dev/main.go | 5 ----- 4 files changed, 6 insertions(+), 12 deletions(-) delete mode 100644 dev/go.mod delete mode 100644 dev/main.go diff --git a/Makefile b/Makefile index 0d262e4bc..bdda132b2 100644 --- a/Makefile +++ b/Makefile @@ -14,4 +14,7 @@ lint: proto: @echo "Running ${@}" - ./scripts/build-protos.sh \ No newline at end of file + ./scripts/build-protos.sh + +build-dev-deps: + go get -u github.com/golang/protobuf/protoc-gen-go \ No newline at end of file diff --git a/README.md b/README.md index deaaf815d..337f7147f 100644 --- a/README.md +++ b/README.md @@ -45,9 +45,8 @@ In order to develop on storj, you will need to have the protobuf compiler instal Use vgo to install both dev and non-dev dependencies 1. Install development dependencies - ```bash - # shouldn't change your pwd - (cd ./dev && vgo install) + ``` + make build-dev-deps ``` 1. Install project dependencies diff --git a/dev/go.mod b/dev/go.mod deleted file mode 100644 index 7e744343d..000000000 --- a/dev/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module "storj.io/storj/dev" - -require "github.com/golang/protobuf" v1.0.0 diff --git a/dev/main.go b/dev/main.go deleted file mode 100644 index cc5575260..000000000 --- a/dev/main.go +++ /dev/null @@ -1,5 +0,0 @@ -package main // import "storj.io/storj/dev" - -import ( - _ "github.com/golang/protobuf/protoc-gen-go" -)