Guest User

Untitled

a guest
Jan 17th, 2018
296
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. # Make example for verifying application dependancies for execution
  2. # Christian R. Vozar <christian@rogueethic.com>
  3.  
  4. dependencies:
  5. $(call isinstalled,kubectl)
  6.  
  7. define isinstalled
  8. @hash $(1) >/dev/null 2>/dev/null || { echo >&2 "$(1) required but not found. Aborting."; exit 1; }
  9. endef
  10.  
  11. .PHONY: dependencies
Add Comment
Please, Sign In to add comment