readme: add a note about the gox dependency for compiling

I thought about putting it in compile.sh or devcompile.sh, but then
I realized if gox changes upstream it will be buried and potentially
confusing to update. Hence including the `-u` in the readme for
`go get`.
This commit is contained in:
Jack Pearkes 2013-11-22 11:31:02 +01:00
parent fd8dfea87b
commit c1c33b4e22
1 changed files with 7 additions and 0 deletions

View File

@ -77,6 +77,13 @@ For some additional dependencies, Go needs [Mercurial](http://mercurial.selenic.
to be installed. Packer itself doesn't require this but a dependency of a to be installed. Packer itself doesn't require this but a dependency of a
dependency does. dependency does.
You'll also need [`gox`](https://github.com/mitchellh/packer)
to compile packer. You can install that with:
```
$ go get -u github.com/mitchellh/gox
```
Next, clone this repository into `$GOPATH/src/github.com/mitchellh/packer` and Next, clone this repository into `$GOPATH/src/github.com/mitchellh/packer` and
then just type `make`. In a few moments, you'll have a working `packer` executable: then just type `make`. In a few moments, you'll have a working `packer` executable: