Created
September 28, 2012 23:10
-
-
Save scottbaggett/3802547 to your computer and use it in GitHub Desktop.
running rake tasks from inside another rake task
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
| task :build_all do | |
| [ :debug, :release ].each do |t| | |
| $build_type = t | |
| Rake::Task["build"].reenable | |
| Rake::Task["build"].invoke | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment