diff --git a/Makefile b/Makefile index f47734f0..b43eb765 100644 --- a/Makefile +++ b/Makefile @@ -50,4 +50,4 @@ $(BIN_DIR): $(TOOLING): $(BIN_DIR) @echo Installing tools from scripts/tools.go - @cd scripts && cat tools.go | grep _ | awk -F'"' '{print $$2}' | xargs -tI % go build -o $(BIN_DIR) % + @cat scripts/tools.go | grep _ | awk -F'"' '{print $$2}' | xargs -tI % go build -o $(BIN_DIR) % diff --git a/README.md b/README.md index 3e9fa948..28aa8a25 100644 --- a/README.md +++ b/README.md @@ -232,6 +232,9 @@ set -x # only exit with zero if all commands of the pipeline exit successfully set -o pipefail +# Make sure to use project tooling +PATH="$(pwd)/tmp/bin:${PATH}" + # Make sure to start with a clean 'manifests' dir rm -rf manifests mkdir -p manifests/setup diff --git a/build.sh b/build.sh index 0663889d..a61af846 100755 --- a/build.sh +++ b/build.sh @@ -7,6 +7,9 @@ set -x # only exit with zero if all commands of the pipeline exit successfully set -o pipefail +# Make sure to use project tooling +PATH="$(pwd)/tmp/bin:${PATH}" + # Make sure to start with a clean 'manifests' dir rm -rf manifests mkdir -p manifests/setup