diff --git a/Makefile b/Makefile index ba499ad7407f..727df373cfc4 100644 --- a/Makefile +++ b/Makefile @@ -46,6 +46,12 @@ dev-dynamic: BUILD_TAGS+=testonly dev-dynamic: prep @CGO_ENABLED=1 BUILD_TAGS='$(BUILD_TAGS)' VAULT_DEV_BUILD=1 sh -c "'$(CURDIR)/scripts/build.sh'" +# quickdev creates binaries for testing Vault locally like dev, but skips +# the prep step. +quickdev: BUILD_TAGS+=testonly +quickdev: + @CGO_ENABLED=$(CGO_ENABLED) BUILD_TAGS='$(BUILD_TAGS)' VAULT_DEV_BUILD=1 sh -c "'$(CURDIR)/scripts/build.sh'" + # *-mem variants will enable memory profiling which will write snapshots of heap usage # to $TMP/vaultprof every 5 minutes. These can be analyzed using `$ go tool pprof `. # Note that any build can have profiling added via: `$ BUILD_TAGS=memprofiler make ...`