Skip to content

Instantly share code, notes, and snippets.

@kuon
Created January 29, 2017 10:54
Show Gist options
  • Save kuon/892fc9c9e0bb46805b2db3eb09f16171 to your computer and use it in GitHub Desktop.
Save kuon/892fc9c9e0bb46805b2db3eb09f16171 to your computer and use it in GitHub Desktop.
Wrap a Rakefile with make
RAKE_TASKS = $(shell bundle exec rake -T |cut -d ' ' -f 2| sed s/:/\\\\:/g )
.PHONY: ${RAKE_TASKS}
${RAKE_TASKS}:
bundle exec rake $@
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment