Created
February 5, 2010 17:23
-
-
Save benmanns/296001 to your computer and use it in GitHub Desktop.
This file contains 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
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