module Rake::TaskManager

def add_location(task)

Add a location to the locations field of the given task.
def add_location(task)
  loc = find_location
  task.locations << loc if loc
  task
end