Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 79f15c182f
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (21 sloc) 0.662 kb
def in_tmp_folder(&block)
FileUtils.chdir(@tmp_root, &block)
end
def in_project_folder(&block)
project_folder = @active_project_folder || @tmp_root
FileUtils.chdir(project_folder, &block)
end
def in_home_folder(&block)
FileUtils.chdir(@home_path, &block)
end
def force_local_lib_override(project_name = @project_name)
rakefile = File.read(File.join(project_name, 'Rakefile'))
File.open(File.join(project_name, 'Rakefile'), "w+") do |f|
f << "$:.unshift('#{@lib_path}')\n"
f << rakefile
end
end
def setup_active_project_folder project_name
@active_project_folder = File.join(@tmp_root, project_name)
@project_name = project_name
end
Jump to Line
Something went wrong with that request. Please try again.