Build with Go 1.6

* Mention requiring Go 1.6+ in the README in preparation for a follow
   up PR which updates our docs / Makefile to align with our vendored
   dependencies.
This commit is contained in:
Paul Hinze 2016-02-23 12:58:38 -06:00
parent adc0a8b126
commit 10dbf340a6
3 changed files with 4 additions and 4 deletions

2
Godeps/Godeps.json generated
View File

@ -1,6 +1,6 @@
{ {
"ImportPath": "github.com/hashicorp/terraform", "ImportPath": "github.com/hashicorp/terraform",
"GoVersion": "go1.5", "GoVersion": "go1.6",
"Packages": [ "Packages": [
"./..." "./..."
], ],

View File

@ -29,7 +29,7 @@ All documentation is available on the [Terraform website](http://www.terraform.i
Developing Terraform Developing Terraform
-------------------- --------------------
If you wish to work on Terraform itself or any of its built-in providers, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.4+ is *required*). Alternatively, you can use the Vagrantfile in the root of this repo to stand up a virtual machine with the appropriate dev tooling already set up for you. If you wish to work on Terraform itself or any of its built-in providers, you'll first need [Go](http://www.golang.org) installed on your machine (version 1.6+ is *required*). Alternatively, you can use the Vagrantfile in the root of this repo to stand up a virtual machine with the appropriate dev tooling already set up for you.
For local dev first make sure Go is properly installed, including setting up a [GOPATH](http://golang.org/doc/code.html#GOPATH). You will also need to add `$GOPATH/bin` to your `$PATH`. Next, install the following software packages, which are needed for some dependencies: For local dev first make sure Go is properly installed, including setting up a [GOPATH](http://golang.org/doc/code.html#GOPATH). You will also need to add `$GOPATH/bin` to your `$PATH`. Next, install the following software packages, which are needed for some dependencies:

2
Vagrantfile vendored
View File

@ -5,7 +5,7 @@
VAGRANTFILE_API_VERSION = "2" VAGRANTFILE_API_VERSION = "2"
$script = <<SCRIPT $script = <<SCRIPT
GOVERSION="1.5.1" GOVERSION="1.6"
SRCROOT="/opt/go" SRCROOT="/opt/go"
SRCPATH="/opt/gopath" SRCPATH="/opt/gopath"