Created
January 29, 2017 10:54
-
-
Save kuon/892fc9c9e0bb46805b2db3eb09f16171 to your computer and use it in GitHub Desktop.
Wrap a Rakefile with make
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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