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" -)