From 1cf67916d2ffd66ebdf7dbd3cf27680b259f17cd Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Sun, 5 Feb 2017 20:30:40 -0500 Subject: [PATCH] Add quickdev to Makefile --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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'"