Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (11 sloc) 0.536 kb
# Include hook code here
unless File.exist?(File.dirname(__FILE__) + "/../engines")
Commands::Plugin.parse!(['install', 'git://github.com/lazyatom/engines.git'])
end
def copy_files(source_path, destination_path, directory)
source, destination = File.join(directory, source_path), File.join(RAILS_ROOT, destination_path)
FileUtils.mkdir(destination) unless File.exist?(destination)
FileUtils.cp_r(Dir.glob(source+'/*.*'), destination)
end
directory = File.dirname(__FILE__)
copy_files("/script", "/script", directory)
Jump to Line
Something went wrong with that request. Please try again.