Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Make example for verifying application dependancies for execution
- # Christian R. Vozar <christian@rogueethic.com>
- dependencies:
- $(call isinstalled,kubectl)
- define isinstalled
- @hash $(1) >/dev/null 2>/dev/null || { echo >&2 "$(1) required but not found. Aborting."; exit 1; }
- endef
- .PHONY: dependencies
Add Comment
Please, Sign In to add comment