Skip to content

Instantly share code, notes, and snippets.

@scottbaggett
Created September 28, 2012 23:10
Show Gist options
  • Select an option

  • Save scottbaggett/3802547 to your computer and use it in GitHub Desktop.

Select an option

Save scottbaggett/3802547 to your computer and use it in GitHub Desktop.
running rake tasks from inside another rake task
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