Skip to content

Instantly share code, notes, and snippets.

@jimmycuadra
Created March 29, 2014 07:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimmycuadra/9850009 to your computer and use it in GitHub Desktop.
Save jimmycuadra/9850009 to your computer and use it in GitHub Desktop.
Capistrano-like stages with Make
STAGE=staging.lita.io
STAGE_NAME=staging
.PHONY: production
production:
$(eval STAGE=lita.io)
$(eval STAGE_NAME=production)
.PHONY: provision
provision:
cd chef && bundle exec knife solo cook ${STAGE}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment