diff --git a/Makefile b/Makefile index f47734f0d78483da86fbbbf0c24fdac5fc4babdd..b43eb765b3eeae71c9b3711369dec830b8ecc033 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 3e9fa948db0a6ec1b487a3bd333a6d24002f11f2..28aa8a25eb4635f7b1d8e9ed96a79afe8f0c3748 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 0663889d83038e825061fcfa3e332b51df1a4711..a61af8467ea05a03e35f701835b3d01a1f05d0a6 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