class Rake::Application

Public Instance Methods

find_rakefile_location() click to toggle source
# File lib/peony/application.rb, line 7
def find_rakefile_location
  ret = origin_find_rakefile_location
  unless ret
    if ENV['peony_root']
      Dir.chdir(ENV['peony_root'])
      if fn = have_rakefile
        ret = [fn, Dir.pwd]
      end
    end
  end
  ret
ensure
  Dir.chdir(Rake.original_dir)
end
origin_find_rakefile_location()