Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 17 lines (11 sloc) 376 Bytes
#!/usr/bin/env ruby
require 'fileutils'
FileUtils.mkdir_p('app/models')
FileUtils.mkdir_p('db/migrate')
BASE = File.expand_path(File.join(File.dirname(__FILE__), '..', 'test'))
Dir[File.join(BASE, 'migrations', '*.rb')].each do |file|
FileUtils.cp(file, 'app/migrations')
end
Dir[File.join(BASE, 'models', '*.rb')].each do |file|
FileUtils.cp(file, 'app/models')
end