Skip to content

Instantly share code, notes, and snippets.

@benmanns
Created February 5, 2010 17:23
Show Gist options
  • Save benmanns/296001 to your computer and use it in GitHub Desktop.
Save benmanns/296001 to your computer and use it in GitHub Desktop.
namespace :parent do
namespace :child do
task :grandson => :environment
task :granddaughter => :environment
task :other_task_name do
puts 'this should be executed by rake parent:child'
end
end
task :child do
puts 'or is this the only way to do it?'
end
task :default_task_for_parent
puts 'i\'d also like to be able to do this from rake parent'
end
end
task :parent do
puts 'or is this the only way?'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment