Commit Graph

32 Commits

Author SHA1 Message Date
James Nugent 11259dee07 build: Exclude darwin/arm from OS/Arch targets
Fixes #8365
2016-08-22 14:34:53 +02:00
Gabi Davar 33b3206ead make linux amd64 binaries static again.
* regression caused by mitchellh/gox#49
* pass CGO_ENABLED=0
2016-06-10 16:23:11 +03:00
Adam Ward 4a29be7b50 Don't assume dev platform was built 2016-05-16 10:00:44 +10:00
Chris Bednarski 6360e6c8b6 Implemented internal plugin calls; which allows us to compile plugins into the main terraform binary 2016-05-10 14:40:11 -04:00
Soren Mathiasen f44706c661 Reduce the size of the binaries 2016-04-19 15:15:56 +02:00
Paul Hinze 0cf6ba6f64 README/Makefile: Mention & auto-install gox 2016-02-25 06:48:43 -06:00
Paul Hinze d21b0897a9 Makefile/docs: Lock in 1.6 req, doc vendored deps
* Drop Go 1.5 compatibility env vars
 * Drop `make updatedeps` from `Makefile` and docs
 * Update README w/ vendored dep instructions
2016-02-24 16:13:49 -06:00
Paul O'Connor e3c6c05395 Put the equals in the correct place 2016-02-17 17:44:38 +01:00
Paul O'Connor 21f15aea3f Use new link ldflags syntax 2016-02-17 17:35:04 +01:00
Paul Hinze 6791172e21 build.sh: don't dive into vendored deps when building
Doing a straight `./...`  build results in errors from unvendored
package references being picked up in some vendored libraries'
`examples/` subdirs.

So we'll switch to the recommended `go list | grep -v /vendor/` strategy
to determine what to build.
2016-02-01 11:28:41 -06:00
Paul Hinze 6fe2703665 Vendor all dependencies w/ Godep
* Remove `make updatedeps` from Travis build. We'll follow up with more
   specific plans around dependency updating in subsequent PRs.
 * Update all `make` targets to set `GO15VENDOREXPERIMENT=1` and to
   filter out `/vendor/` from `./...` where appropriate.
 * Temporarily remove `vet` from the `make test` target until we can
   figure out how to get it to not vet `vendor/`. (Initial
   experimentation failed to yield the proper incantation.)

Everything is pinned to current master, with the exception of:

 * Azure/azure-sdk-for-go which is pinned before the breaking change today
 * aws/aws-sdk-go which is pinned to the most recent tag

The documentation still needs to be updated, which we can do in a follow
up PR. The goal here is to unblock release.
2016-01-29 15:08:48 -06:00
James Nugent 094e380bb1 Add Solaris builds of Terraform 2016-01-05 09:53:19 -05:00
James Nugent 6d6487e288 Make gofmt errors fail build and add `make fmt`
We may want to consider requiring `gofmt -s` compliance in future
builds, but for now we just use `gofmt`.
2015-12-17 12:35:13 -05:00
Jeff Zellner ac462d2ef1 use /usr/bin/env bash 2015-06-30 11:52:11 -06:00
Mitchell Hashimoto 9422571ca2 update CHANGELOG 2015-05-15 20:36:58 -07:00
Paul Hinze 11280a09b3 Merge pull request #1538 from fatih/build-script-fix
scripts/build.sh: fix GOPATH/bin folder breaking build
2015-04-15 11:50:55 -05:00
Fatih Arslan 0c80207bff scripts/build.sh: fix GOPATH/bin folder breaking build
If GOPATH/bin doesn't exists the build scripts just exists, leaving the
`terraform/bin` folder with only one single binary called `terraform`.
Discovered while setting up a new GOPATH just for terraform.
2015-04-15 19:36:44 +03:00
Eli Shvartsman 44d6123894 get dependencies without installing them
For now, make dev creates in ${MAIN_GOPATH}/bin/ files like 'provider-google' alongside with 'terraform-provider-google'.
If we decided to build plugins with custom names and install them manually with 'cp' command, it could make sense not to do it here.
2015-04-15 13:08:37 +03:00
Jeff Mitchell 996e7ff3e4 Add quickdev option; skips getting dependencies to make repeated builds a bit faster and less network-heavy 2015-03-06 17:07:16 +00:00
Joseph Anthony Pasquale Holsten 29a91c7db7 quote $DIR to allow $GOPATH to include spaces 2014-11-25 15:26:41 -08:00
Mitchell Hashimoto 5152f05d0a scripts: copy binaries to gopath 2014-09-29 18:18:14 -07:00
Mitchell Hashimoto 32c88dce4a scripts: make bin/ dir 2014-08-31 09:31:57 -07:00
Mitchell Hashimoto 1b191a5183 scripts: fix dev build 2014-08-28 16:47:14 -07:00
Mitchell Hashimoto e7e60cb493 scripts: quiet 2014-08-28 10:21:13 -07:00
Mitchell Hashimoto f67dfce2ae scripts: fix extension in file copy for build 2014-08-28 10:20:49 -07:00
Mitchell Hashimoto 0b5b971f8e scripts: build script cross compiles 2014-08-28 09:54:09 -07:00
Mitchell Hashimoto f46d3ff332 scripts: don't copy libucl.dll anymore 2014-08-19 10:02:29 -07:00
Mitchell Hashimoto b569a5d8b6 scripts: build script 2014-07-28 10:54:25 -07:00
Mitchell Hashimoto 8cd4814beb scripts: unix line endings 2014-06-26 10:07:31 -07:00
Mitchell Hashimoto d02cf6d979 scripts: make build.sh executable 2014-06-26 10:07:08 -07:00
Mitchell Hashimoto 38d4f2a1bd scripts: human-readable sizes 2014-05-29 17:52:06 -07:00
Mitchell Hashimoto effe895d22 scripts: build script 2014-05-29 17:51:11 -07:00