diff --git a/Makefile b/Makefile index 29ade6fb76..c6b484a608 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ all: deps format bin: generate @sh -c "'$(CURDIR)/scripts/build.sh'" -# dev creates binares for testing locally. There are put into ./bin and $GOPATH +# dev creates binaries for testing locally - these are put into ./bin and $GOPATH dev: generate @CONSUL_DEV=1 sh -c "'$(CURDIR)/scripts/build.sh'" diff --git a/scripts/build.sh b/scripts/build.sh index 3b72b4f640..68ef77669c 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -30,7 +30,7 @@ rm -f bin/* rm -rf pkg/* mkdir -p bin/ -# If its dev mode, only build for ourself +# If it's dev mode, only build for ourself if [ "${CONSUL_DEV}x" != "x" ]; then XC_OS=$(go env GOOS) XC_ARCH=$(go env GOARCH)