Skip to content

Commit

Permalink
Fail early if yq is not found in build environment
Browse files Browse the repository at this point in the history
  • Loading branch information
k-wall committed Sep 10, 2019
1 parent ff9a126 commit 116fe3b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions controller-manager/Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@

ifeq (, $(shell which yq))
$(error "Required dependency, yq, not found")
endif

LOCAL_ARTIFACT_DIR:=controller-manager/target/controller-manager-${VERSION}-dist.zip
OLM_VER := $(shell yq -r .channels[0].currentCSV ../templates/install/olm/amq-online/amq-online.package.yaml | sed -e 's/^amqonline\.//')

Expand Down

0 comments on commit 116fe3b

Please sign in to comment.