terraform/scripts
Jake Champlin 8cbef79dbf Allow specifying ldflags via env vars
Allows specifying `LD_FLAGS` during development builds.

```
$ LD_FLAGS="-linkmode=external" make dev
```

Since the version of DTrace on macOS Sierra (On the public beta's at least) has been updated, this allows DTrace to run on Terraform during development/debugging.

```
$ sudo dtrace -n 'pid$target::main.main:entry' -c "terraform apply"
dtrace: description 'pid$target::main.main:entry' matched 1 probe

Apply complete! Resources: 0 added, 0 changed, 0 destroyed.

Outputs:

foo = bar
dtrace: pid 23096 has exited
CPU     ID                    FUNCTION:NAME
  2 265673                  main.main:entry
```

Also redirects the `@which stringer` command inside the `generate` Makefile target to `/dev/null` so we stop echoing the path to the `stringer` binary on every call to `generate`.
2016-08-24 10:56:23 -04:00
..
build.sh Allow specifying ldflags via env vars 2016-08-24 10:56:23 -04:00
changelog-links.sh CHANGELOG: generate links, tweak script 2016-03-16 09:55:01 -05:00
dist.sh scripts/dist.sh: tweaks for recent hc-releases 2016-07-15 18:38:47 -06:00
generate-plugins.go Implemented internal plugin calls; which allows us to compile plugins into the main terraform binary 2016-05-10 14:40:11 -04:00
generate-plugins_test.go Implemented internal plugin calls; which allows us to compile plugins into the main terraform binary 2016-05-10 14:40:11 -04:00
gofmtcheck.sh Improve performance of fmtcheck 2016-03-31 13:57:09 -07:00
gogetcookie.sh travis: switch to unencrypted cookie 2016-03-21 13:35:53 -05:00
travis.sh Add script for running tests in Travis 2015-12-22 11:27:04 -05:00