def parent_task(name)
      task name do
        Rake::Task
          .tasks
          .select { |t| t.name =~ /^#{name}:/ }
          .sort_by(&:name)
          .each(&:execute)
      end
    end
def parent_task(name)
      task name do
        Rake::Task
          .tasks
          .select { |t| t.name =~ /^#{name}:/ }
          .sort_by(&:name)
          .each(&:execute)
      end
    end
Define a task named `name` that runs all tasks under an identically named `namespace`.