Skip to content

Instantly share code, notes, and snippets.

@ChimeraCoder
Created February 7, 2013 05:40
Show Gist options
  • Save ChimeraCoder/4728823 to your computer and use it in GitHub Desktop.
Save ChimeraCoder/4728823 to your computer and use it in GitHub Desktop.
Sample env variable configuration
check-envars: guard-APP_SETTINGS uard-TWILIO_ACCOUNT_SID guard-TWILIO_AUTH_TOKEN
guard-%:
@if [ -z ${${*}} ] ; then \
echo "Environment variable $* not set"; \
exit 1; \
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment