diff --git a/Makefile b/Makefile index 70c25e7037..f36e9dc48b 100644 --- a/Makefile +++ b/Makefile @@ -4,17 +4,19 @@ EXTERNAL_TOOLS=\ github.com/mitchellh/gox BUILD_TAGS?=vault -default: dev +default: dev # bin generates the releaseable binaries for Vault bin: generate @CGO_ENABLED=0 BUILD_TAGS='$(BUILD_TAGS)' sh -c "'$(CURDIR)/scripts/build.sh'" # dev creates binaries for testing Vault locally. These are put -# into ./bin/ as well as $GOPATH/bin +# into ./bin/ as well as $GOPATH/bin, except for quickdev which +# is only put into /bin/ +quickdev: generate + @CGO_ENABLED=0 go build -i -tags='$(BUILD_TAGS)' -o bin/vault dev: generate @CGO_ENABLED=0 BUILD_TAGS='$(BUILD_TAGS)' VAULT_DEV_BUILD=1 sh -c "'$(CURDIR)/scripts/build.sh'" - dev-dynamic: generate @CGO_ENABLED=1 BUILD_TAGS='$(BUILD_TAGS)' VAULT_DEV_BUILD=1 sh -c "'$(CURDIR)/scripts/build.sh'"