Simplify fetch process by using go get

Signed-off-by: Giuseppe Mazzotta <gdm85@users.noreply.github.com>
This commit is contained in:
gdm85 2015-10-12 20:12:34 +02:00
parent a82d2cd74d
commit 7fc4aedd1c
1 changed files with 5 additions and 5 deletions

View File

@ -34,11 +34,11 @@ To build the `docker-machine` binary using containers, simply run:
Make sure the source code directory is under a correct directory structure to use Go 1.5 vendoring; Make sure the source code directory is under a correct directory structure to use Go 1.5 vendoring;
example of cloning and preparing the correct environment `GOPATH`: example of cloning and preparing the correct environment `GOPATH`:
``` ```
mkdir -p projects/docker-machine/src/github.com/docker mkdir docker-machine
export GOPATH="$PWD/projects/docker-machine" cd docker-machine
cd projects/docker-machine/src/github.com/docker export GOPATH="$PWD"
git clone https://github.com/docker/machine go get github.com/docker/machine
cd machine cd docker-machine/src/github.com/docker/machine
``` ```
At this point, simply run: At this point, simply run: